7 Jul
1994
7 Jul
'94
6:21 a.m.
The only sane way to count the number of 1 bits in a byte is to use a lookup table: return table[result]; On an intel chip this produces ONE opcode: XLAT