[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting bits



> Why bother when you can simply do an eight line function?
[ unrolled loop approach deleted ]

1. Speed.  For bytes it probably doesn't matter much, but it
will if you're operating on full words.

2. Why write straightforward code if you don't have to?  ;-)

   Eli   [email protected]