Closed gnprice closed 11 years ago
I... have no idea how to review this :frowning: I'm not nearly smart enough. Luckily we have a test suite!
I think I almost understand this patch.
I'm running the complete test suite locally, once that finishes I'll merge this.
LGTM, merging
Heh, this PR cut the total test time in half for PyPy and Python 2.6
pow() isn't as fast as it could be here -- with some cleverness, specialized for the particular exponent we care about, we can do better.