Re:FreeBSD replaces bubblesort with mergesort on SYSINTs, re...
by ynik on Monday August 21, 2023 @03:47AM
(#37206525)
Bubble sort is optimal for sorting data stored on tapes (no random access possible).
If you have RAM, insertion sort is strictly superior (both simpler code + better performance).
[ Parent
| on HN ]