Open
Description
Hi,
I want to store 214 bits in a BitSet.
When i do that it's data array is 10 elements. That's 10x 32bit int (320 bit).
Ideally it would use the bare minimum in bit overhead. If that were to be done in 32 bit ints then 7 ints (224 bit) would suffice.
More ideal would be an array of chars (8 bit each) where i'd need 27 chars giving me 216 bits of room.
Are there arguments i can set in this class to get that more ideal behavior (ints or chars, both work)?
Metadata
Metadata
Assignees
Labels
No labels