Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Hoare’s Rebuttal and Bubble Sort’s Comeback.
https://easylang.online/blog/qsort_c.html
My implementation is pretty fast. At a size of 40 or 50, I switch to Insertion sort, and there the branchless bubblesort is significantly slower (I just tried it).
But I have to admit defeat to this Sample sort:
https://github.com/SaschaWitt/ips4o
There are no comments on this comment yet.
https://easylang.online/blog/qsort_c.html
My implementation is pretty fast. At a size of 40 or 50, I switch to Insertion sort, and there the branchless bubblesort is significantly slower (I just tried it).
But I have to admit defeat to this Sample sort:
https://github.com/SaschaWitt/ips4o