[PPL-devel] Re: Integers as bit arrays

Kevin Ryde user42 at zip.com.au
Thu Jul 31 03:30:22 CEST 2003


Roberto Bagnara <bagnara at 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.



More information about the PPL-devel mailing list