Dynamic Arity Adjustment for Efficient d-ary Heaps

Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

The d-ary heaps are among the most widely used implementations of priority queues. The arity d, which determines the number of children per node, is typically fixed throughout the execution of an algorithm, with values such as d = 2, 4, and 8 commonly used due to their simplicity, balanced performance between sift-up and sift-down operations, and cache efficiency. This paper observes that changing the arity from a larger value to a smaller value (e.g., 4 to 2) during execution can reduce the number of key comparisons in many priority-queue-based applications. Based on this observation, we propose a method that dynamically adjusts the arity at an appropriate moment: the heap begins with a larger arity when sift-up operations dominate in the early phase and switches to a smaller arity as sift-down operations gradually dominate. We evaluate the proposed method both analytically and experimentally and show that it reduces the number of key comparisons by 3%-25% across a diverse range of applications and input workloads. The proposed method complements existing techniques for improving d-ary heaps and provides a practical approach to reducing priority-queue costs.

키워드

Algorithm engineering; d-ary heap; Dynamic arity adjustment; Priority queue; FIBONACCI HEAPS; ALGORITHMS
제목
Dynamic Arity Adjustment for Efficient d-ary Heaps
저자
Lee, Sihyung
DOI
10.3837/tiis.2026.08.016
발행일
2026-08
유형
Article
저널명
KSII Transactions on Internet and Information Systems
권
20
호
8
페이지
4263 ~ 4283