It's not the first time that I need a function to get element(s) by index in a roaring bitmap.
The main functions that I could have used are;
nth(n: u32) -> u32 => returns the element at the n position
first_n(n: u32) -> RoaringBitmap => returns the first n elements
last_n(n: u32) -> RoaringBitmap => returns the last n elements
It's not the first time that I need a function to get element(s) by index in a roaring bitmap.
The main functions that I could have used are;
nth(n: u32) -> u32=> returns the element at thenpositionfirst_n(n: u32) -> RoaringBitmap=> returns the firstnelementslast_n(n: u32) -> RoaringBitmap=> returns the lastnelements