Is roaring_bitmap_to_uint32_array intended to yield ordered output?

26 views
Skip to first unread message

JDT

unread,
Jan 7, 2022, 6:24:59 PM1/7/22
to Roaring Bitmaps

In my test cases the element output is ordered, but that could just be because my test case is very simple.

Is the semantics of this function intended to always produce ordered output?
It'd be nice to know I don't need to sort output in cases that require it.

Daniel Lemire

unread,
Jan 7, 2022, 8:48:27 PM1/7/22
to Roaring Bitmaps
You are correct. I will update the documentation.

JDT

unread,
Jan 8, 2022, 7:17:44 AM1/8/22
to Roaring Bitmaps
Thanks for the fast reply.  Also relevant is whether ordered output applies to roaring_bitmap_range_uint32_array.

Daniel Lemire

unread,
Jan 10, 2022, 10:41:11 AM1/10/22
to Roaring Bitmaps
Indeed. That is correct.
Reply all
Reply to author
Forward
0 new messages