首页> 外国专利> MEMORY EFFICIENT PERFECT HASHING FOR LARGE RECORDS

MEMORY EFFICIENT PERFECT HASHING FOR LARGE RECORDS

机译:大型记录的高效存储哈希

摘要

Embodiments for a memory efficient perfect hashing for large records. A container ID set is divided into multiple fixed range sizes. These ranges are then mapped into perfect hash buckets until each bucket is filled to uniformly distribute the container IDs across different perfect hash buckets so that the number of CIDs in every perfect hash bucket is the same or nearly the same. Individual perfect hash functions are created for each perfect hash bucket. With container IDs as keys, the process maps n keys to n positions to reduce any extra memory overhead. The perfect hash function is implemented using a compress, hash, displace (CHD) algorithm using two levels of hash functions. The level 1 hash functions divides the keys into multiple internal buckets with a defined average number of keys per bucket. The CHD algorithm iteratively tries different level 2 hash variables to achieve collision-free mapping.
机译:用于大型记录的存储器有效的完美散列的实施例。容器ID集分为多个固定范围大小。然后将这些范围映射到完美哈希桶中,直到每个桶被填充以将容器ID均匀地分布在不同的完美哈希桶中,以便每个完美哈希桶中的CID数量相同或几乎相同。为每个完美哈希桶创建单独的完美哈希函数。使用容器ID作为键,该过程将n个键映射到n个位置,以减少任何额外的内存开销。完美的哈希函数是通过使用两个级别的哈希函数的压缩,哈希,置换(CHD)算法实现的。 1级哈希函数将密钥划分为多个内部存储桶,每个存储桶具有定义的平均密钥数。 CHD算法反复尝试使用不同的2级哈希变量来实现无冲突映射。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号