首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Fast and Simple Compact Hashing via Bucketing
  • 本地全文:下载
  • 作者:Dominik K{"o}ppl ; Simon J. Puglisi ; Rajeev Raman
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2020
  • 卷号:160
  • 页码:7:1-7:14
  • DOI:10.4230/LIPIcs.SEA.2020.7
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Compact hash tables store a set S of n key-value pairs, where the keys are from the universe U = {0,…,u-1}, and the values are v-bit integers, in close to B(u, n) + nv bits of space, where {b(u, n)} = logâ,, binom(u,n) is the information-theoretic lower bound for representing the set of keys in S, and support operations insert, delete and lookup on S. Compact hash tables have received significant attention in recent years, and approaches dating back to Cleary [IEEE T. Comput, 1984], as well as more recent ones have been implemented and used in a number of applications. However, the wins on space usage of these approaches are outweighed by their slowness relative to conventional hash tables. In this paper, we demonstrate that compact hash tables based upon a simple idea of bucketing practically outperform existing compact hash table implementations in terms of memory usage and construction time, and existing fast hash table implementations in terms of memory usage (and sometimes also in terms of construction time). A related notion is that of a compact Hash ID map, which stores a set SÌ, of n keys from U, and implicitly associates each key in SÌ, with a unique value (its ID), chosen by the data structure itself, which is an integer of magnitude O(n), and supports inserts and lookups on SÌ,, while using close to B(u,n) bits. One of our approaches is suitable for use as a compact Hash ID map.
  • 关键词:compact hashing; hash table; separate chaining
国家哲学社会科学文献中心版权所有