Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BitSet vs. raw bitwise manipulation performance [closed]

Tags:

java

How does BitSet performance compare vs. raw manipulation of say, long values?

like image 462
Kevin Avatar asked Jul 29 '11 17:07

Kevin


1 Answers

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

First result from googling "java bitset performance"

For unbounded sets of bits, however, BitSet has obvious advantages.

like image 133
Artomegus Avatar answered Sep 27 '22 02:09

Artomegus