I think this may have come up before, but I don't see an open issue, and I stumbled upon this bug again because it was the bottleneck when profiling some hypergraph generation codes that used StatseBase's countmap
which uses SortingAlgorithms's RadixSort
:
using SortingAlgorithms
x = [rand(1:10, 10) for i in 1:30000];
@elapsed sort.(x) # 0.015s
@elapsed sort.(x; alg=RadixSort) # 1.4s