×

Worm hashing

  • US 10,223,396 B2
  • Filed: 08/26/2016
  • Issued: 03/05/2019
  • Est. Priority Date: 05/27/2016
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more hardware processors, are configurable to cause the one or more processors to:

  • maintain an entries array having a pre-selected number of initially empty buckets and structured as a circular array in a physical memory system coupled with the one or more hardware processors, wherein each of the pre-selected number of entries in the entries array has a corresponding index value;

    maintain a chaining array having the pre-selected number of buckets and structured as a circular array in the physical memory system coupled with the one or more hardware processors, wherein each of the pre-selected number of entries in the chaining array has the same corresponding index value as the corresponding bucket in the entries array;

    perform a hash operation on data to be stored to determine a hash value corresponding to the data with the one or more hardware processors;

    store the data in a bucket in the entries array corresponding to the hash value as an unmovable head-of-chain entry, and moving previous data, if any, stored in the entries array corresponding to the hash value when the previous data has a different hash value;

    store the data in another bucket in the entries array when the bucket in the entries array corresponding to the hash value is occupied by a head-of-chain entry;

    link the bucket storing the data to the head-of-chain entry with the chaining array with the one or more hardware processors.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×