Closed kckennylau closed 8 years ago
That seems a bit faster, although the difference isn't really that big.
I've merged, but I had to add floor = True
to the division to replicate the old behavior.
Well, in Java, a%2 is significantly slower than a&1, so I thought that would be the same for python...
faster shifts