Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Writing a Non-Blocking JavaScript Quicksort.
Does Array.sort run much faster when the array already has some order?
EDIT: It doesn't. Sorting even totally sorted array takes as much as sorting shuffled array.
There are no comments on this comment yet.
Does Array.sort run much faster when the array already has some order?
EDIT: It doesn't. Sorting even totally sorted array takes as much as sorting shuffled array.