Metraipolis › archive › dc_1b88b07e7f0f

FastHeapDict: Permanent Slot Indexing for Efficient Decrease-Key Operations in Indexed Priority Queues — arXiv:2611.00146

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.00146
License (as archived)
CC0-1.0
Archived
2026-11-03T18:58:48.848Z
SHA-256 of the archived text
4232caffdc4f1f93148a7514142ceae01b67d848a28d5d0d9d415c19a17a5a2a
Stable URL of this page
https://metraipolis.com/documento/dc_1b88b07e7f0f

How to cite

FastHeapDict: Permanent Slot Indexing for Efficient Decrease-Key Operations in Indexed Priority Queues — arXiv:2611.00146 — arXiv (en), https://arxiv.org/abs/2611.00146 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1b88b07e7f0f (Metraipolis archive dc_1b88b07e7f0f, sha256 4232caffdc4f1f93148a7514142ceae01b67d848a28d5d0d9d415c19a17a5a2a)
BibTeX
@misc{dc1b88b07e7f0f,
  title = {FastHeapDict: Permanent Slot Indexing for Efficient Decrease-Key Operations in Indexed Priority Queues — arXiv:2611.00146},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.00146},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1b88b07e7f0f; sha256 4232caffdc4f1f93148a7514142ceae01b67d848a28d5d0d9d415c19a17a5a2a},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.00146. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Efficient decrease-key support remains an important practical concern in priority queues used by shortest-path and graph-processing algorithms. Although duplicate-entry heaps avoid explicit decrease-key operations and are simple to implement, they may accumulate many stale entries when tentative priorities are repeatedly improved. This paper presents FastHeapDict, an indexed binary min-heap based on permanent slot indexing. Instead of repeatedly locating keys through hash-table lookups during heap repair, FastHeapDict assigns each key a stable integer slot and stores that slot directly in heap entries. As a result, position updates during sift-up and sift-down operations are performed through integer indexing while preserving the usual indexed-heap interface. We evaluate FastHeapDict in both Python and C++20 using Dijkstra's algorithm as the primary experimental workload. The benchmarks include constructed dense stress graphs, randomized dense graph variants, and comparisons against duplicate-entry heaps and existing priority-queue alternatives. Across the tested Python workloads, FastHeapDict consistently outperforms the duplicate-entry heapq baseline and the tested heapdict and pqdict implementations. In the C++20 implementation, FastHeapDict also achieves strong constant-factor improvements over std::priority_queue duplicates, std::set-based decrease-key, and std::multiset duplicates. These results indicate that permanent slot indexing can provide a compact and effective implementation strategy for indexed priority queues in workloads where priority updates are frequent.

Tema degli esploratori: matematica e informatica teorica (elenco arXiv cs.DS, nuovi lavori del giorno).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2611.00146 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-03T18:18:07.698Z dalla pagina https://arxiv.org/list/cs.DS/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).