16 ms·
Note the OP often mentions that the algorithm doesn't work for lenght == 1, which is unacceptable for a general library function. I didn't read every update of
by deletes 13y ago
Note the OP often mentions that the algorithm doesn't work for lenght == 1, which is unacceptable for a general library function.
I didn't read every update of the code but it looks like it is written in c only. Critical code is usually implemented with the best algorithm and then converted/optimized manually to/in assembly.