Post

New preprint: The SimdQuickHeap is the fastest priority queue by far! 2x faster than a radix heap and up to 10x faster than binary heaps. arxiv.org/abs/2604.25681 with Marvin Williams and Johannes Breitling:

arxiv.orgSimdQuickHeap: The QuickHeap ReconsideredPriority queues are data structures that maintain a dynamic collection of elements and allow inserting new elements and removing the smallest element. The most widely known and used priority queue is ...

5 reposts20 likes

The data structure has some similarities to QuickSelect and is pretty simple: repeatedly partition the list of values using random pivots until the smallest is left, and store each part in its own array. New elements are compared to the pivots and pushed to the right layer.

With AVX-512, the SimdQuickHeap is consistently 2x faster than the radix heap and other engineered heaps that are I/O-efficient, and up to 10x faster than the binary heap and other tree-based heaps.