+I was doing a coding assignment recently, and noticed the provided package's `unique` function didn't specify whether it kept only the first item in every consecutive region of equal items. Instilled with a healthy wariness of Undefined Behavior#sidenote[nasal demons!!], I didn't want to assume it did so, even though that's the usual interpretation of that function. It was even more eye-raising because this was a library for parallel operations, so there could have presumably been some weird out-of-order shenanigans going on#sidenote[Divide and conquer doesn't consider items sequentially.] that cause it to take arbitrary items in every consecutive region. Equality is associative, after all---maybe something could cook wrt that?
0 commit comments