java: sparse bit vector

后端 未结 7 2184
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 07:24

Are there any well-known libraries in Java for sparse bit vectors?

(And are there guidelines for how sparse is useful to use them vs. java.util.BitSet?)

7条回答
  •  别跟我提以往
    2021-02-08 07:46

    You could try the JavaEWAH library.

    https://code.google.com/p/javaewah/

    Depending on your problem it may be a good fit.

    (It is used by Apache Hive and others.)

提交回复
热议问题