ON THE DESIGN OF A MACHINE-INDEPENDENT PERFECT HASHING SCHEME

被引:7
作者
CHANG, CC
CHEN, CY
JAN, JK
机构
[1] FENG CHIA UNIV,DEPT ELECTR,TAICHUNG 40724,TAIWAN
[2] NATL CHUNG HSING UNIV,DEPT APPL MATH,TAICHUNG 40227,TAIWAN
关键词
D O I
10.1093/comjnl/34.5.469
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper proposes a new approach to be used for assigning keywords to addresses in the way that no two different keywords are assigned in the same address. In this approach, the assigned address of each keyword is determined as following form: address <-- v1 (the keyword's ith character) + v2 (the keyword's jth character), where v1 and v2 are two integer-valued functions defined on the set of twenty-six English letters. The approach can be used for searching reserved words in compilers, function names in Operating Systems and so on. In considering heuristics to design the v1 and v2 functions, we were led to develop a letter-oriented merging-and-exchanging algorithm that finds the letter value assignments for v1 and v2 and achieves the reducing blank spaces in the constructed table.
引用
收藏
页码:469 / 474
页数:6
相关论文
共 5 条
[1]   AN ORDERED MINIMAL PERFECT HASHING SCHEME BASED UPON EULERS THEOREM [J].
CHANG, CC .
INFORMATION SCIENCES, 1984, 32 (03) :165-172
[2]   A LETTER-ORIENTED MINIMAL PERFECT HASHING SCHEME [J].
CHANG, CC ;
LEE, RCT .
COMPUTER JOURNAL, 1986, 29 (03) :277-281
[3]   MINIMAL PERFECT HASH FUNCTIONS MADE SIMPLE [J].
CICHELLI, RJ .
COMMUNICATIONS OF THE ACM, 1980, 23 (01) :17-19
[4]  
JAESCHKE G, 1980, COMMUN ACM, V23, P728
[5]  
JAESCHKE G, 1981, COMMUNICAITONS ASS C, V24