Algorithms (May 2019)

<tt>FASTSET</tt>: A Fast Data Structure for the Representation of Sets of Integers

  • Giuseppe Lancia,
  • Marcello Dalpasso

DOI
https://doi.org/10.3390/a12050091
Journal volume & issue
Vol. 12, no. 5
p. 91

Abstract

Read online

We describe a simple data structure for storing subsets of { 0 , … , N − 1 } , with N a given integer, which has optimal time performance for all the main set operations, whereas previous data structures are non-optimal for at least one such operation. We report on the comparison of a Java implementation of our structure with other structures of the standard Java Collections.

Keywords