Invention Grant
- Patent Title: Minimally disruptive hash table
- Patent Title (中): 微小的破坏性哈希表
-
Application No.: US13342503Application Date: 2012-01-03
-
Publication No.: US08595239B1Publication Date: 2013-11-26
- Inventor: Navindra Yadav
- Applicant: Navindra Yadav
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Young Basile Hanlon & McFarlane P.C.
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/14

Abstract:
Methods and articles of manufacture relating to hash tables and in particular to minimally disruptive hash tables are disclosed. In one aspect, the method includes creating the hash table with a plurality of hash table buckets, wherein a count of the plurality of hash table buckets is greater than or equal to a maximum count of elements to be stored in the hash table over a period in which the hash table is used, storing a plurality of elements in the plurality of hash table buckets such that each hash table bucket has one of the plurality of elements, and adding a new element to the hash table. Adding the new element includes determining, using a hash function, a plurality of hash table indexes and inserting the new element in the identified hash table buckets by replacing existing elements stored in the hash table buckets.
Information query