Peter Kjellerstedt wrote:
> You should move the calculation of rem to within the if statement,
> since the modulo operation is time consuming and the if statement 
> is marked as unlikely(), i.e.:
>
>       if (unlikely((bitmask_word >> hashbit1) & (bitmask_word >>
> hashbit2) & 1)) {
>               Elf32_Word bucket;
>               unsigned long rem;
>
>               do_rem(rem, hash, tpnt->nbucket);
>               bucket = tpnt->l_gnu_buckets[rem];
>
> //Peter
>   
Done, thanks.
Carmelo
> _______________________________________________
> uClibc mailing list
> uClibc@uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
>   

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to