×

Lookup with key sequence skip for radix trees

  • US 9,396,286 B2
  • Filed: 05/07/2014
  • Issued: 07/19/2016
  • Est. Priority Date: 05/07/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of determining whether a key is stored in a radix tree, comprising:

  • identifying a first chunk of a key;

    traversing a radix tree including a plurality of containers;

    identifying, based on the traversing, a container including a first sequence of elements, the first sequence of elements having a first prefix;

    determining whether the first chunk matches the first prefix;

    when the first chunk is determined to match the first prefix;

    skipping a first number of elements after the first chunk in the key;

    for one or more traversed child containers of the identified container;

    identifying, based on the traversing, a first child container of the identified container, the first child container including a second sequence of elements, and the second sequence of elements having a second prefix;

    determining whether a second chunk of the key matches the second prefix, the second chunk of the key being a third sequence of elements after the skipped number of elements in the key;

    when the second chunk is determined to match the second prefix, traversing a second child container, the second child container being a child of the first child container; and

    skipping a second number of elements after the second chunk in the key.

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