Fast Dynamic Arrays
Data Structures and Algorithms
2017-11-02 v1
Abstract
We present a highly optimized implementation of tiered vectors, a data structure for maintaining a sequence of elements supporting access in time and insertion and deletion in time for while using extra space. We consider several different implementation optimizations in C++ and compare their performance to that of vector and multiset from the standard library on sequences with up to elements. Our fastest implementation uses much less space than multiset while providing speedups of for access operations compared to multiset and speedups of compared to vector for insertion and deletion operations while being competitive with both data structures for all other operations.
Cite
@article{arxiv.1711.00275,
title = {Fast Dynamic Arrays},
author = {Philip Bille and Anders Roy Christiansen and Mikko Berggren Ettienne and Inge Li Gørtz},
journal= {arXiv preprint arXiv:1711.00275},
year = {2017}
}