发明名称 CREATING A PERFECT HASH USING OFFSET TABLE
摘要 <p>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 (38) 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 (40) 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.</p>
申请公布号 WO1998055929(A1) 申请公布日期 1998.12.10
申请号 US1998011680 申请日期 1998.06.04
申请人 发明人
分类号 主分类号
代理机构 代理人
主权项
地址