3 ms·
> be honest, how often are you sorting things by a number and only a number? All the time. IP addresses permutation arrays (⍋⍋) Sometimes I pretend characte
by geocar 4y ago
> be honest, how often are you sorting things by a number and only a number?
All the time.
IP addresses
permutation arrays (⍋⍋)
Sometimes I pretend characters are numbers; short fixed-length strings (like currencies or country codes or even stock tickers) can be numbers.
If I can get away with it, a radix sort is better than anything else.
- deleted 4y ago[deleted]