Patent · US Expired

Method and system for searching an array for an array value

US5991757A · kind A · utility

3Cited by
8References
11Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 31, 1998
Grant dateNov 23, 1999
Priority date
Expiry dateMar 31, 2018

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99933
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A data processing system includes at least one processor and data storage containing an array including N records having value-ordered entries. To find an entry matching a search value, W, a number of records to be searched, is set equal to N, and each of the W records is assigned to either a first set or a second set, where the first set includes X/2 of the W records and X is a smallest power of 2 equal to or greater than W. In response to a determination that the search value precedes the first record within the second set, a binary search of the first set of records is performed to identify a record including an matching entry. If the first entry of the first record within the second set matches the search value, the first record within the second set is identified. However, if the search value follows the first entry of the first record of the second set, the selected record is identified as containing an entry matching the search value only if W is equal to 1, and if W is not equal to 1, W is reset equal to a number of records within the second set and the above steps are repeated until a record containing a matching entry is identified. Following identification of the search …

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.