You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MergingIterator is a performance critical class, one of the CPU hotpots are InternalComparator & UserComparator which are both virtual functions.
Since rocksdb Comparator has Name, this PR inline bytewise comparators code by checking comparator Name.
This is a PR to upstream facebook/rocksdb#10151
Copied from facebook/rocksdb#10151
MergingIterator is a performance critical class, one of the CPU hotpots are InternalComparator & UserComparator which are both virtual functions.
Since rocksdb Comparator has Name, this PR inline bytewise comparators code by checking comparator Name.
This PR is based on PR facebook/rocksdb#9035
Relevant commits
9f20ffc merging_iterator.cc: fix FORCE_INLINE
02458c4 merging_iterator.cc: add override
6bb244c merging_iterator.cc: ignore forceinline fail
7314205 merging_iterator.cc: format code
b91733d MergingIterator inline bytewise comparator
The text was updated successfully, but these errors were encountered: