roaring-rs
roaring-rs copied to clipboard
Is there any ops like gte in java RangeBitmap?
https://github.com/RoaringBitmap/RoaringBitmap?tab=readme-ov-file#range-bitmaps Is there any chance that we can use RangeBitmap?
Hey @likun666661 👋
Unfortunately, those operations do not exists. This issue seems highly related to this recent one #276. It is not very complex to create a range operator that can be converted into a bitmap if necessary.
let bitmap = RoaringBitmap::from_iter(20..142);
let iter = bitmap.range(23..42);
let subset_bitmap = iter.collect(); // can this be specialized for roaring::Iter types?