[PPL-devel] Re: Integers as bit arrays

Kevin Ryde user42@zip.com.au
Thu, 31 Jul 2003 11:30:22 +1000


Roberto Bagnara <bagnara@cs.unipr.it> writes:
>
>    unsigned long r = mpz_scan1(vec, ++position);
>    return (r == ULONG_MAX) ? -1 : r;
>
> However, last time I checked this was significantly slower.
> I will re-check though.

Might be due to function call overhead.  Let us know if there's
anything particularly poor coming out in scan1.c.