Comparative Performance of the AVL Tree and Three Variants of the Red‐Black Tree

ABSTRACT This article compares the performance of the AVL tree to the performance of the bottom‐up, top‐down, and left‐leaning red‐black trees. The bottom‐up red‐black tree is faster than the AVL tree for insertion and deletion of randomly ordered keys. The AVL tree is faster than the bottom‐up red‐black tree for insertion but slower for deletion of consecutively ordered keys. The top‐down red‐black tree is faster than the bottom‐up red‐black tree for insertion but slower for deletion of randomly ordered keys, and slower for insertion and deletion of consecutively ordered keys. The left‐leaning red‐black tree is slower than the three other trees for insertion and deletion of randomly and consecutively ordered keys. An alternative deletion algorithm, which reduces the number of rebalancing operations required by deletion, is analyzed.

Authors

Publication Details

Journal
Software Practice and Experience
Published
2025-06-08
DOI
https://doi.org/10.1002/spe.3437
Citations
1
Primary Topic
DNA and Biological Computing
Type
article
Field-Weighted Citation Impact
0.81
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Performance of the AVL Tree and Three Variants of the Red‐Black Tree

Russell A. Brown
1 citations
Software Practice and Experience
DNA and Biological Computing
0.81
article

Comparative Performance of the AVL Tree and Three Variants of the Red‐Black Tree

Russell A. Brown
article en
1 citations

Abstract

ABSTRACT This article compares the performance of the AVL tree to the performance of the bottom‐up, top‐down, and left‐leaning red‐black trees. The bottom‐up red‐black tree is faster than the AVL tree for insertion and deletion of randomly ordered keys. The AVL tree is faster than the bottom‐up red‐black tree for insertion but slower for deletion of consecutively ordered keys. The top‐down red‐black tree is faster than the bottom‐up red‐black tree for insertion but slower for deletion of randomly ordered keys, and slower for insertion and deletion of consecutively ordered keys. The left‐leaning red‐black tree is slower than the three other trees for insertion and deletion of randomly and consecutively ordered keys. An alternative deletion algorithm, which reduces the number of rebalancing operations required by deletion, is analyzed.

Software Practice and ExperienceVol. 55(9)
Openalex Percentile: Top 27%
DNA and Biological Computing
0.81
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.