Method and structure for reducing search times
First Claim
7. A method of accessing a particular entry in a list of entries in a computer system, each of the entries including a next entry pointer that points to another entry in the list such that the next entry pointers together form a closed loop, the method comprising:
- reading a start pointer of one of the entries;
examining the entries in the list in turn beginning with the entry pointed to by the start pointer and continuing until the particular entry is found;
if the particular entry is found then performing the following steps;
accessing the particular entity;
overwriting the start pointer so as to point to the particular entry; and
if the particular entry is not found and all of the entries in the list have been examined then performing the following step;
terminating examination of the entries.
11 Assignments
0 Petitions
Accused Products
Abstract
A method and structure for reducing search times. The method includes examining the entries in a list in turn beginning with the entry pointed to by a start pointer and continuing until the particular entry is found. The start pointer is then reset to point at the particular entry that was found. The next search will therefore begin to search at the location where the last search ended. Such a strategy increases the likelihood of locating the particular entry faster. The list of entries includes next entry pointers that point to another entry in the list such that the next entry pointers together form a closed loop. If the entire list is searched and the particular entry is not found, the search is aborted.
-
Citations
18 Claims
-
7. A method of accessing a particular entry in a list of entries in a computer system, each of the entries including a next entry pointer that points to another entry in the list such that the next entry pointers together form a closed loop, the method comprising:
-
reading a start pointer of one of the entries;
examining the entries in the list in turn beginning with the entry pointed to by the start pointer and continuing until the particular entry is found;
if the particular entry is found then performing the following steps;
accessing the particular entity;
overwriting the start pointer so as to point to the particular entry; and
if the particular entry is not found and all of the entries in the list have been examined then performing the following step;
terminating examination of the entries. - View Dependent Claims (1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18)
-
-
10-1. A method as claimed in claim 9, further comprising terminating examination of the entries in the event that the particular entry is not found and all of the entries in the list have been examined.
-
11-2. A method as claimed in claim 9, wherein the accessing and examining steps are omitted when the particular entry is not found.
-
12-3. A method as claimed in claim 9, wherein accessing the particular entry includes reading the entry.
-
16. A storage structure comprising
a list of entries, each entry having a next entry pointer and each next entry pointer pointing to another entry such that the next entry pointers together form a closed loop; - and
an overwritable start pointer that points to an entry in the list of entries, the start pointer capable of being overwritten to point to an entry other than the entry.
- and
Specification