3 ms·
it's sorting 50 times a list going from 50 to 0 items.
by hdjfjkremmr 11mo ago
it's sorting 50 times a list going from 50 to 0 items.
- blharr 11mo ago49 of those times, it's hitting the best case of sorting an already sorted list, so I still can't imagine that huge of a performance penalty
- hyperhello 11mo agoThere are sort algorithms that don’t do any work except scanning if the list is unsorted, but there are more efficient ones to use if they are.