Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bxparks
1 day ago
|
parent
|
context
|
favorite
| on:
When would you ever want bubblesort? (2023)
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: