SparseBitSet icon indicating copy to clipboard operation
SparseBitSet copied to clipboard

is 64 bit possible?

Open vitusya opened this issue 8 years ago • 3 comments

Current limit is to use indexes as 32bits ints, is it possible to implement indexes as 64bit long?

vitusya avatar Jan 09 '18 15:01 vitusya

@vitusya Unknown. Probably. Pull requests welcome.

brettwooldridge avatar Jan 09 '18 16:01 brettwooldridge

This does not answer your question per se, but you can get 64-bit compressed bitmaps with the org.roaringbitmap.longlong.Roaring64NavigableMap class.

lemire avatar Jan 09 '18 16:01 lemire

@lemire Thanks im aware of Roaring64NavigableMap, I am currently using SparseBitSet because for
current task its performs better. There are also http://judy.sourceforge.net/doc/Judy1_3x.htm Judy bit array written in C, which is solves my problems, but its does not have any serialization and its hard to implement one. Seems i will have to take a look at Roaring64NavigableMap again

vitusya avatar Jan 10 '18 12:01 vitusya