News for hackers. Stuff that matters.
Re:Faster Sorting with Go Generics by kaba0 on Sunday April 03, 2022 @04:50AM (#30895490)
Just a nit, for floats it is not commutative either, not sure how much freedom do compilers have here. E.g. try summing many floats in decreasing value - chances are that adding a very small number in the end will not even change the value.
Re:Faster Sorting with Go Generics by morelisp on Sunday April 03, 2022 @12:52PM (#30898367)
A nit's nit, float addition is commutative. It is not associative.