Affiliation:
1. Trinity College Dublin, Ireland
2. Lero, Trinity College Dublin, Ireland
Abstract
In this article, we experimentally compare a number of data structures operating over keys that are 32- and 64-bit integers. We examine traditional comparison-based search trees as well as data structures that take advantage of the fact that the keys are integers such as van Emde Boas trees and various trie-based data structures. We propose a variant of a burst trie that performs better in time than all the alternative data structures. In addition, even for small sets of keys, this burst trie variant occupies less space than comparison-based data structures such as red-black trees and
B
-trees. Burst tries have previously been shown to provide a very efficient base for implementing cache efficient string sorting algorithms. We find that with suitable engineering, they also perform excellently as a dynamic ordered data structure operating over integer keys. We provide experimental results when the data structures operate over uniform random data. We also present experimental results for other types of data, including datasets arising from
Valgrind
, a widely used suite of tools for the dynamic binary instrumentation of programs.
Publisher
Association for Computing Machinery (ACM)
Subject
Theoretical Computer Science
Reference38 articles.
1. Improved behaviour of tries by adaptive branching
2. Organization and maintenance of large ordered indices. Acta;Bayer R.;Inf.,1972