#sortingalgorithm

brozu ▪️brozu@mastodon.uno
2025-05-14

🧵 Thread on sorting algorithms.

Starting with #StupidSort 🤪, an inefficient algorithm that sorts by randomly shuffling until the list is ordered.

(1/3) ⬇️

#computerscience #algorithm #sortingalgorithm #datastructure #coding #programming #software #softwaredevelopment #bigo #learntocode #codenewbie

Python code snippet demonstrating the Stupid Sort algorithm. The code includes a function that shuffles a list until it is sorted, with an example usage and expected result
Daniel Django :verified_rainbow: (Akkoma)django@kowelenz.social
2025-01-04

On a 1 billion item dataset, Learned Sort outperforms the next best competitor, RadixSort, by a factor of 1.49x. What really blew me away, is that this result includes the time taken to train the model used!

🤯

https://blog.acolyer.org/2020/10/19/the-case-for-a-learned-sorting-algorithm/

#MachineLearning #SortingAlgorithm #ComputerScience

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst