Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on FreeBSD replaces bubblesort with mergesort on SYSINTs, results in 100x speed. Parent comment
- it's constant time or it's crap
- constant time means your best case is as slow as your worst case
In this case, constant time would be sorting it before the program runs.
Which is in fact important in crypto code to prevent timing attacks.
- it's constant time or it's crap
- constant time means your best case is as slow as your worst case
In this case, constant time would be sorting it before the program runs.