상세 보기
Dynamic Arity Adjustment for Efficient d-ary Heaps
WEB OF SCIENCE
0SCOPUS
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.
키워드
- 제목
- Dynamic Arity Adjustment for Efficient d-ary Heaps
- 저자
- Lee, Sihyung
- 발행일
- 2026-08
- 유형
- Article
- 권
- 20
- 호
- 8
- 페이지
- 4263 ~ 4283
- 언어
- ENG
- 출판사
- KSII-KOR SOC INTERNET INFORMATION
- 발행국가
- 대한민국
- 분량
- 21 페이지
- ISSN
- E 1976-7277
P 1976-7277