首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:Fast and Scalable Minimal Perfect Hashing for Massive Key Sets
  • 本地全文:下载
  • 作者:Antoine Limasset ; Guillaume Rizk ; Rayan Chikhi
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2017
  • 卷号:75
  • 页码:25:1-25:16
  • DOI:10.4230/LIPIcs.SEA.2017.25
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Minimal perfect hash functions provide space-efficient and collision-free hashing on static sets. Existing algorithms and implementations that build such functions have practical limitations on the number of input elements they can process, due to high construction time, RAM or external memory usage. We revisit a simple algorithm and show that it is highly competitive with the state of the art, especially in terms of construction time and memory usage. We provide a parallel C++ implementation called BBhash. It is capable of creating a minimal perfect hash function of 10^{10} elements in less than 7 minutes using 8 threads and 5 GB of memory, and the resulting function uses 3.7 bits/element. To the best of our knowledge, this is also the first implementation that has been successfully tested on an input of cardinality 10^{12}. Source code: https://github.com/rizkg/BBHash
  • 关键词:Minimal Perfect Hash Functions; Algorithms; Data Structures; Big Data
国家哲学社会科学文献中心版权所有