Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
3.47k
stars
452
forks
source link
Optimize the implementation of IntervalSet intersection #2295
Closed
PragmaTwice closed 3 months ago
Search before asking
Motivation
https://github.com/apache/kvrocks/blob/82f03ca5edc6640a46a8f26d63ceb9385f30f744/src/search/interval.h#L130
We can optimize this function since the implementation here uses just De Morgan's laws, not very efficient.
Solution
No response
Are you willing to submit a PR?