arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.04330cs.DS
收藏

(最小完全Hash)函数的快速可扩展构造

Fast Scalable Construction of (Minimal Perfect Hash) Functions

Marco Genuzio, Giuseppe Ottaviano, Sebastiano Vigna

摘要:

有限域上的随机线性系统的最新进展已经为使用相对于现有技术更少的空间来构造表示静态函数和最小完美散列函数的恒定时间数据结构铺平了道路。这些结果的任何实际应用的主要障碍是解决这些线性系统所需的10-时间高斯消除:尽管它们可以做得很小,但计算仍然太慢而不可行。在本文中,我们详细描述了一些算法和编程技术,以加快解决这些系统的几个数量级,使整体建设的竞争力与标准和广泛使用的MWHC技术,这是基于超图剥离。特别是,我们介绍了广泛的编程技术,快速方程操作和惰性高斯消除算法。我们还描述了一些技术改进的数据结构,进一步减少空间使用和提高查找速度。我们的实现这些技术产生一个最小的完美的哈希函数数据结构占用2.24位每个元素,相比2.68 MWHC为基础的,和一个静态函数数据结构,减少乘法开销从1.23到1.03。

英文摘要:

Recent advances in random linear systems on finite fields have paved the way for the construction of constant-time data structures representing static functions and minimal perfect hash functions using less space with respect to existing techniques. The main obstruction for any practical application of these results is the cubic-time Gaussian elimination required to solve these linear systems: despite they can be made very small, the computation is still too slow to be feasible. In this paper we describe in detail a number of heuristics and programming techniques to speed up the resolution of these systems by several orders of magnitude, making the overall construction competitive with the standard and widely used MWHC technique, which is based on hypergraph peeling. In particular, we introduce broadword programming techniques for fast equation manipulation and a lazy Gaussian elimination algorithm. We also describe a number of technical improvements to the data structure which further reduce space usage and improve lookup speed. Our implementation of these techniques yields a minimal perfect hash function data structure occupying 2.24 bits per element, compared to 2.68 for MWHC-based ones, and a static function data structure which reduces the multiplicative overhead from 1.23 to 1.03.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑