by TheLoneWolfling · 11y ago · 0 comments
I can believe Radix Sort is faster, but I have a harder time believing that it's due to better cache performance.
Remember: a cache miss costs easily several hundred cycles.
And, to ask a question: if radix sort is faster, and not due to better cache performance, what is it due to?
Uhm, perhaps its time complexity?
Asymptotic complexity with (sub)logarithmic factors is iffy at best, and this is a shining example thereof.