At 08:29 PM 9/6/2010, you wrote: >Bytes are directly addressable in the most popular CPUs; >bits are not. > >However, with an additional 20 years of C programming under >my belt, I am now confident enough to tackle bit booleans, >if I should become interested enough. Bit booleans offer >lots of room for lots of juicy tricky clever code. For example, >how do you compute +/b where b is a bit-boolean vector?
This may have already been done for you in hardware. See opcode called popcount or popcnt, aka "the NSA instruction" for x86 architectures. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
