by changing some integer regular arithmetic to bitwise operations.
I'm not sure that would make any difference if I used optimized
compilation, but it might still make a difference on some old
compilers.
It seems to make a difference on gcc without optimization on my Linux
machine (and, of course, it does not break the tests).
Before:
real 1m6,707s
user 1m6,035s
sys 0m0,672s
After:
real 1m6,352s
user 1m5,672s
sys 0m0,680s
The full test suite runs fine and the performance numbers are:
Before:
real 1m7,040s
user 1m6,319s
sys 0m0,716s
After:
real 1m6,707s
user 1m6,035s
sys 0m0,672s
Not bad. But mostly, it saves stack. Nice. :-)