News for hackers. Stuff that matters.
Re:Cache-friendly binary search by enigmo on Thursday June 25, 2015 @11:00AM (#9778355)
Taken to it's logical extreme: k-Ary Search on Modern Processors

https://people.mpi-inf.mpg.de/~rgemulla/publications/schlege...

As SSE/AVX registers get wider and wider you might as well compare an entire cache line (or two) at a time. But the overhead of building the level order k-tree means you need to do a whole lot of lookups for each insert... so it doesn't apply to that many problems. Unless you're building a search engine. Then it applies a lot.

There are no comments on this comment yet.