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
I had searched in the issues and found no similar issues.
Motivation
Currently, we have 2 separate implemention for BITs, including Bitmap and BitmapString. To reducing the inconsistent bug and reducing the complexity of bit-operations, we need extract some common operations including:
This is a refactor, see: #2076
Previously, adhoc bit operations are used. This patch extract `GetBit` and `SetBitTo` operation to simplify the impl.
Also, because the LSB/MSB format we're using it different in BitmapString and Bitmap( see apache/kvrocks-website#198 ), `lsb` and `msb` is extracted to prevent from mistakes.
…e#2105)
This is a refactor, see: apache#2076
Previously, adhoc bit operations are used. This patch extract `GetBit` and `SetBitTo` operation to simplify the impl.
Also, because the LSB/MSB format we're using it different in BitmapString and Bitmap( see apache/kvrocks-website#198 ), `lsb` and `msb` is extracted to prevent from mistakes.
Search before asking
Motivation
Currently, we have 2 separate implemention for BITs, including
Bitmap
andBitmapString
. To reducing the inconsistent bug and reducing the complexity of bit-operations, we need extract some common operations including:e.g.:
Solution
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: