Re:Faster than radix sort: Kirkpatrick-Reisch sorting
by lorenzhs on Friday June 12, 2020 @07:31AM
(#23498194)
Well you can apply it to any pair of (adjacent) levels of the memory hierarchy. But the main problem with the square root model is that it only models random access time, but not when they are incurred and when data is already in cache. (There are also 2-3 levels of caches, no architecture that Iām aware of has more than 3, maybe 4 if you count the CPU registers but their allocation is usually fixed at compile time)
But then, I am a physicist, not an engineer, so to me starting from empirical observations is actually a very good way to construct a model.