...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Fast and Simple Compact Hashing via Bucketing
【24h】

Fast and Simple Compact Hashing via Bucketing

机译:通过铲斗快速简单的紧凑型散列

获取原文

摘要

Compact hash tables store a set S of n key-value pairs, where the keys are from the universe U = {0,a?|,u-1}, and the values are v-bit integers, in close to B(u, n) + nv bits of space, where {b(u, n)} = loga,, 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 Hash表存储N个键值对的集合,其中键来自Universe U = {0,a?|,U-1},并且值是V位整数,靠近B(U ,n)+ NV位空间,其中{b(u,n)} = loga ,, binom(u,n)是表示s中的键集的信息 - 理论下限,并支持操作插图,删除并在S. Compact Hash表上查询近年来受到了重大关注,并追溯到Cleary [IEEE T.Copp,1984]的方法,以及更新的方法已经在许多应用中实现和使用。然而,胜利这些方法的空间使用由其缓慢相对于传统哈希表超过它们的慢速。在本文中,我们证明了基于在内存使用和施工时间方面的桶实际上超越现有的紧凑型哈希表实现的简单概念,以及在内存使用方面的现有快速哈希表实现(有时也在建筑时间)。相关概念是存储来自u的n键的一个紧凑散列ID地图的那个,并隐式地将每个键联在S 1中关联,其中包含唯一的值(其ID),由数据结构本身选择,即数量级O(n)的整数,并支持sì的插入和查找,同时使用靠近b(u,n)位。我们的方法之一适用于紧凑型散列ID地图。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号