Power Of Two
int foo(int x) {
return x % 3;
}
^ This is Faster?
int foo(int x) {
return x % 128;
}
^ This is Faster?
* The benchmark is run under AMD Ryzen 9.
* For the full benchmark code, please refer here.
* For illustration purposes only, see FAQ for more details.