Message227488
| Author |
scoder |
| Recipients |
georg.brandl, mark.dickinson, python-dev, rhettinger, scoder, serhiy.storchaka |
| Date |
2014年09月24日.20:51:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1411591914.59.0.150096486767.issue22464@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I created issue 22486 about the gcd() performance. I think we can close this ticket - I don't see any more obvious low hanging fruit and future findings can have their own ticket.
Out of interest, I modified the fractions module to compile Fraction into an extension type with Cython. For the benchmark, it currently gives me a 10x speedup over the original fractions module in Py3.4. I uploaded my initial attempt to PyPI and it's on github:
https://pypi.python.org/pypi/quicktions
https://github.com/scoder/quicktions
That makes a C implementation of Fraction generally worth considering for CPython. |
|