发明名称 Method and system for creating a perfect hash using an offset table
摘要 A method and mechanism for converting a non-contiguous subset of values in a large range, such as selected Unicode code points, into a contiguous or mostly contiguous smaller range with a perfect hash. The large range is organized into a two-dimensional bitmap matrix of pages and offsets into the pages. The bits in the matrix equal one if the value is in the subset, and zero if not. The pages are then overlaid on one another into a one-dimensional bitmap by shifting each page as necessary to avoid conflicts with values on other pages. The shift amount is recorded and used in a hash computation, wherein a value of the large range is first separated into its page number and its offset into the page. The values are then hashed into the value of the dense subset range by looking up the shift amount for the page and adding the shift amount to the offset into the page.
申请公布号 US6014733(A) 申请公布日期 2000.01.11
申请号 US19970869913 申请日期 1997.06.05
申请人 MICROSOFT CORPORATION 发明人 BENNETT, JOHN R.
分类号 G06F1/02;G06F7/24;G06F17/30;H03M7/30;(IPC1-7):G06F12/10 主分类号 G06F1/02
代理机构 代理人
主权项
地址