Better HN
topnewbestaskshowjobs
Log inSign up

nedoka

9 karma · joined Jul 20, 2020 (6y ago) · 4 submissions

Submissions

comment 5y ago · link · parent

I double checked and it's indeed faster, up to 3x faster if the data is partially sorted.

It uses O(n) aux memory so if std::sort were to use this it would still need IntroSort as a fallback, but that's pretty much a non-issue since std::stablesort already does the same.

comment 6y ago · link · parent

Similar strategy. Wolfsort is stable however while SpreadSort does not appear to be so.

I wonder if wolfsort is stable and faster because it utilizes quadsort?

https://github.com/scandum/quadsort