>Does your time for the array lookup include the time of initializing the array?
No, I already said, I defined the array before (outside?) the timing.
>The following are simple and beat the bittest method by about a third on my machine:
On my machine your method was twice as fast as the bittest method.
Nice functions - I would have never thought using bit wise to accomplish this.
Thanks again,
dz
Doru