Pedro F. Giffuni wrote this message on Tue, Jan 03, 2012 at 19:47 +0000:
> +#define SL_SWAP(a,b)           {a^=b; b^=a; a^=b;}

Can we replace this w/ a normal swap function?

Last time I did benchmarking on this ~10 years ago, it was slower to
use xor instead of using assignments...

-- 
  John-Mark Gurney                              Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to