Roaring bitmaps: what they are and how they work
11–20 of 61 posts
Re: Roaring bitmaps: what they are and how they work
#12Those who do not know judy1 are doomed to reinvent it. http://judy.sourceforge.net/
Re: Roaring bitmaps: what they are and how they work
#13It looks a bit too simplistic: Blocks with up to 4k items are stored as sorted lists. Having to insert in a sorted list up to 4k items seems very expensive to me.
Re: Roaring bitmaps: what they are and how they work
#14Earlier quoted context omitted.
Compressing consecutive 1's and 0's was the first idea that popped into my head as well. Then when they started to talk about inserting into the 800,000th position my brain went "What if they just reversed the array and stored some metadata as the type of array they're dealing with?" It's funny that in the end Bitmaps essentially are a modified data structure and process. The way things are going, I imagine someone w…
I was thinking a similar thought that 4096 seemed quite magic (although it seems to be chosen based on research) and that RB perf could probably be tuned based on the workload
Re: Roaring bitmaps: what they are and how they work
#15Re: Roaring bitmaps: what they are and how they work
#16It looks a bit too simplistic: Blocks with up to 4k items are stored as sorted lists. Having to insert in a sorted list up to 4k items seems very expensive to me.
The 4k items are only 512 bytes though, so expensive yes but not overly so.
Re: Roaring bitmaps: what they are and how they work
#17It looks a bit too simplistic: Blocks with up to 4k items are stored as sorted lists. Having to insert in a sorted list up to 4k items seems very expensive to me.
The 4k items are only 512 bytes though, so expensive yes but not overly so.
Re: Roaring bitmaps: what they are and how they work
#18Those who do not know judy1 are doomed to reinvent it. http://judy.sourceforge.net/
the Judy project seems inactive to me:
https://sourceforge.net/p/judy/bugs/
this short HN thread resonates with the intuition of jude1 being stalled, it's last optimistic comment points to an orphaned comment in the big list above
Re: Roaring bitmaps: what they are and how they work
#19sorted-list/bitmap/runs, in a two level tree. cool.
it's technically missing sorted compliment-list, i.e. only the items that are missing, although worst case runs only use twice as much space, so more complexity without much savings, esp. considering real workloads
performs better with sequential ids than random uuids because you use fewer pages
further research
investigating the effect of adding more layers to the tree
using additional set representations e.g. balanced tree
Re: Roaring bitmaps: what they are and how they work
#20It looks a bit too simplistic: Blocks with up to 4k items are stored as sorted lists. Having to insert in a sorted list up to 4k items seems very expensive to me.