Simple and space-efficient minimal perfect hash functions

  • Authors:
  • Fabiano C. Botelho;Rasmus Pagh;Nivio Ziviani

  • Affiliations:
  • Dept. of Computer Science, Federal Univ. of Minas Gerais, Belo Horizonte, Brazil;Computational Logic and Algorithms Group, IT Univ. of Copenhagen, Denmark;Dept. of Computer Science, Federal Univ. of Minas Gerais, Belo Horizonte, Brazil

  • Venue:
  • WADS'07 Proceedings of the 10th international conference on Algorithms and Data Structures
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

A perfect hash function (PHF) h : U → [0,m - 1] for a key set S is a function that maps the keys of S to unique values. The minimum amount of space to represent a PHF for a given set S is known to be approximately 1.44n2/m bits, where n = |S|. In this paper we present new algorithms for construction and evaluation of PHFs of a given set (for m = n and m = 1.23n), with the following properties: Evaluation of a PHF requires constant time.