in reply to Re: An array of boolean values in a bitfield
in thread An array of boolean values in a bitfield
Where do you get the array @sum? The point of the loop that you're commenting on is specifically to build a lookup table that maps a chr to the number of '1' bits that are in it. That table gets used in some of the bit counting methods that follow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: An array of boolean values in a bitfield
by LanX (Saint) on Dec 03, 2008 at 18:16 UTC | |
by kyle (Abbot) on Dec 03, 2008 at 18:22 UTC | |
by LanX (Saint) on Dec 03, 2008 at 18:44 UTC | |
by ysth (Canon) on Dec 04, 2008 at 08:20 UTC | |
by BrowserUk (Patriarch) on Dec 04, 2008 at 14:00 UTC | |
by LanX (Saint) on Dec 04, 2008 at 12:50 UTC |