USING TRIES TO ELIMINATE PATTERN COLLISIONS IN PERFECT HASHING

被引:7
作者
BRAIN, MD
THARP, AL
机构
[1] Computer Science Department, North Carolina State University, Raleigh
关键词
PERFECT HASHING; MINIMAL PERFECT HASHING; HASHING TRIES; SPARSE ARRAY PACKING;
D O I
10.1109/69.277768
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Many current perfect hashing algorithms suffer from the problem of pattern collisions. In this paper, a perfect hashing technique that uses array-based tries and a simple sparse matrix packing algorithm is introduced. This technique eliminates all pattern collisions, and because of this it can be used to form ordered minimal perfect hash functions on extremely large word lists. This algorithm is superior to other known perfect hashing functions for large word lists in terms of function building efficiency, pattern collision avoidance, and retrieval function complexity. It has been successfully used to form an ordered minimal perfect hashing function for the entire 24, 481 element Unix word list without resorting to segmentation. The item lists addressed by the perfect hashing function formed can be ordered in any manner, including alphabetically, to easily allow other forms of access to the same list.
引用
收藏
页码:239 / 247
页数:9
相关论文
共 27 条