Bitwise Optimization in Java: Bitfields, Bitboards, and Beyond (O'ReillyNet)
[Posted February 7, 2005 by cook]
Glen Pepicelli
manipulates bits with Java in an O'Reilly article.
"
Flipping bits on and off is the lowest level of computing, and most Java
developers are totally isolated from it. But maybe they shouldn't be. In
this article, Glen Pepicelli introduces the idea of bitsets--ints and longs
whose bitwise representation are the data you're interested in--and how they
can be used with mathematical and logical operators to write faster code."
(
Log in to post comments)