Efficently scanning a bit array
Chris Jefferson
chris@bubblescope.net
Tue Jul 1 13:04:00 GMT 2008
2008/7/1 John Love-Jensen <eljay@adobe.com>:
> Hi Chris,
>
> Depending on your platform, these may be available:
> man 3 bitstring
> man 3 ffs
>
> If you are using C++, consider <bitset> std::bitset.
Thanks (and to Andrew too)
Unfortunatly I cannot use std::bitset as the bits are already
allocated. However, this code is useful to get an idea as to how I
should progress. Thank you!
Chris
More information about the Gcc-help
mailing list