3 ms·
Thats fair, the rust port isn't as feature rich as the original Java library. The Java version has methods for previous/next absent value which i think would so
by quadrature 2y ago
Thats fair, the rust port isn't as feature rich as the original Java library. The Java version has methods for previous/next absent value which i think would solve your issue ?.
The method is implemented using count trailing zeros intrinsic in the dense container so it is very performant for dense bitmaps https://github.com/RoaringBitmap/RoaringBitmap/blob/d2c6c3bcb087bc4d7785c05b37bf1240b99efd1e/RoaringBitmap/src/main/java/org/roaringbitmap/BitmapContainer.java#L981 https://github.com/RoaringBitmap/RoaringBitmap/blob/d2c6c3bc...
Maybe this can be ported to the rust lib as well.