BitSet vs raw bitwise manipulation

How is the performance of BitSet compared to raw manipulations, for example, long values?

+6
source share
1 answer

http://imagenious.wordpress.com/2008/02/05/java-bitset-vs-primitive/

The first result of working with jog bits in googling

However, for unlimited bit sets, BitSet has obvious advantages.

+6
source

Source: https://habr.com/ru/post/893885/


All Articles