Comparison of the Approaches to the Traversal of a Binary Tree Structure Using Iterators

The tree (hierarchical) structure is one of the elementary memory arrangements, used by numerous data structures – ranging from simple to relatively sophisticated ones. The most well-known tree structure is probably the binary tree. Such a tree is the basis for efficient implementations of (binary) search trees. In addition to the typical search tree operations like find, insert, and remove, the operation of tree traversal that sequentially accesses all elements is also very important. Typically, the traversal is implemented using a dedicated object called iterator. The paper deals with different ways of implementing a binary tree iterator. The main contribution of the paper is an experimental comparison of various implementations of the iterator. The comparison shows that the simple straightforward approach is unequivocally the fastest.

Authors

Institutions

Publication Details

Published
2024-11-13
DOI
https://doi.org/10.1109/informatics62280.2024.10900891
Citations
1
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.35

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparison of the Approaches to the Traversal of a Binary Tree Structure Using Iterators

Michal Mrena, Michal Varga, Miroslav Kvaššay
1 citations
Advanced Database Systems and Queries
0.35
article

Comparison of the Approaches to the Traversal of a Binary Tree Structure Using Iterators

Michal Mrena, Michal Varga, Miroslav Kvaššay
article en
1 citations

Abstract

The tree (hierarchical) structure is one of the elementary memory arrangements, used by numerous data structures – ranging from simple to relatively sophisticated ones. The most well-known tree structure is probably the binary tree. Such a tree is the basis for efficient implementations of (binary) search trees. In addition to the typical search tree operations like find, insert, and remove, the operation of tree traversal that sequentially accesses all elements is also very important. Typically, the traversal is implemented using a dedicated object called iterator. The paper deals with different ways of implementing a binary tree iterator. The main contribution of the paper is an experimental comparison of various implementations of the iterator. The comparison shows that the simple straightforward approach is unequivocally the fastest.

University of Žilina (SK)
Ministry of Education
Openalex Percentile: Top 34%
Advanced Database Systems and Queries
0.35
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.

Comparison of the Approaches to the Traversal of a Binary Tree Structure Using Iterators — Michal Mrena, Michal Varga, et al. · (2024) | TGRS Research Map | TGRS