logoalt Hacker News

pilord314today at 6:03 AM0 repliesview on HN

When you get into C code sometimes you know the most thinngs that will be in the priority queue is like 3. So bubble sort is fine.

You can also do something like a calendar queue with bubble sort for each bin.