Invention Grant
- Patent Title: Memory efficient storage of large numbers of key value pairs
- Patent Title (中): 存储器高效存储大量的键值对
-
Application No.: US11852154Application Date: 2007-09-07
-
Publication No.: US07903819B2Publication Date: 2011-03-08
- Inventor: Avinash Gupta
- Applicant: Avinash Gupta
- Applicant Address: US CA Sunnyvale
- Assignee: Yahoo! Inc.
- Current Assignee: Yahoo! Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Weaver Austin Villeneuve & Sampson LLP
- Main IPC: H04L9/00
- IPC: H04L9/00

Abstract:
In one embodiment of the present invention, storing a plurality of key value pairs may be accomplished by first, for each of two or more quantities of most significant bits, determining how much overall memory usage will be saved upon removal of the corresponding quantity of most significant bits from each key in the plurality of key value pairs. Then, for the quantity of most significant bits determined to have the most overall memory usage savings, the quantity of most significant bits may be removed from each key in the plurality of key value pairs. Then a first auxiliary data structure may be formed, wherein the first auxiliary data structure contains the removed quantity of most significant bits from each key in the plurality of key value pairs and pointers to the remaining bits of each key of the plurality of keys in a primary data structure.
Public/Granted literature
- US20090067631A1 MEMORY EFFICIENT STORAGE OF LARGE NUMBERS OF KEY VALUE PAIRS Public/Granted day:2009-03-12
Information query