<[EMAIL PROTECTED]> wrote: > Thanks Bart. That's perfect. The other suggestion was to precompute > count1 for all possible bytes, I guess that's 0-256, right?
0 to 255 inclusive, actually - that is 256 numbers... The largest number representable in a byte is 255 eight bits, of value 128,64,32,16,8,4,2,1 Their sum is 255... And then there is zero. - Hendrik -- http://mail.python.org/mailman/listinfo/python-list