What are some alternatives to a bit array?

前端 未结 7 1685
夕颜
夕颜 2021-02-06 07:05

I have an information retrieval application that creates bit arrays on the order of 10s of million bits. The number of \"set\" bits in the array varies widely, from all clear to

7条回答
  •  借酒劲吻你
    2021-02-06 07:34

    Maybe too late for you, but there is a very fast and memory efficient library for sparse bit arrays (lossless) and other data types based on tries. Look at Judy arrays

提交回复
热议问题