Top
Best
New

Posted by atan2 12/10/2025

When would you ever want bubblesort? (2023)(buttondown.com)
108 points | 86 commentspage 4
JSR_FDED 12/10/2025|
I’ve used it when I didn’t want the hassle of another dependency
jhallenworld 12/10/2025|
I've used it on a tiny microcontroller because libc's quicksort was huge.
bxparks 12/11/2025||
Shell sort is sooo much faster than Bubble sort for tiny microcontrollers, for only a little bit more flash memory, like 40-100 bytes. If that's too much, then Insertion sort is 6X faster than Bubble sort, for only 10-20 bytes of extra flash.
6Roman6 12/11/2025|
[dead]