Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-596

Skip common prefix comparisons in skip list searches

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.6.5
    • Affects Version/s: None
    • Component/s: None

      In WT-595, we optimize lexical key comparisons to skip prefix bytes when we know they will be the same for a range of keys.

      It should be possible to do the same thing for skip lists: once we go down a level, we have a key greater than the search key, so we can calculate the common prefix and skip those bytes on all subsequent keys. Rinse and repeat each time we go down: the prefix can only get longer.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: