should be faster
in reply to Re: A mod2 Machine.
in thread A mod2 Machine.
Why art thou speculating? use Benchmark;
I benchmarked the bitwise operation with my method and even then my method wins... for 1e6 iterations.
Rate machine bitwise machine 819199/s -- -43% bitwise 1448690/s 77% --