Open tower120 opened 3 months ago
BitSetRanges replace full blocks with prealocated one. Similar to empty blocks in BitSet. This allows to fill ranges at close to O(1) time. Also, filled blocks does not consume memory.
BitSetRanges
BitSet
Fully implemented.
https://github.com/tower120/hi_sparse_bitset/tree/bitset_ranges
BitSetRanges
replace full blocks with prealocated one. Similar to empty blocks inBitSet
. This allows to fill ranges at close to O(1) time. Also, filled blocks does not consume memory.Fully implemented.
https://github.com/tower120/hi_sparse_bitset/tree/bitset_ranges