Hi Team,
I would like to use Roaring64Bitmap for collecting Long values in random order, and then writing them out in ascending order. Based on the documentation I could use the Roaring64Bitmap.getLongIterator to traverse through the values in the correct order.
The documentation says:
For better performance, consider the Use the forEach method. I do not see any mention of the ordering of the elements using the forEach method. Does this mean that the documentation should be worded like this:
When the order of the elements are irrelevant consider the Use the forEach method for better performance.
Or the forEach method also iterates the elements in ascending order?
Thanks,
Peter