rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

ForwardIterator: used newly added VersionStorageInfo::FindFileInRange

Open rockeet opened this issue 3 years ago • 0 comments

  1. FindFileInRange is defined in version_set.cc, ForwardIterator should use it to reduce code explosion
  2. The only one FindFileInRange can be optimized some way
    • We have optimized FindFileInRange by devirtualization and prefix caching for known Comparator (now just BytewiseComparator and ReverseBytewiseComparator) with 30x+ speed up, if rocksdb likes this optimization, I'll create a PR.

rockeet avatar Aug 28 '22 08:08 rockeet