[issue37884] Optimize Fraction() and statistics.mean()
Jeroen Demeyer
report at bugs.python.org
Mon Aug 19 04:37:37 EDT 2019
Jeroen Demeyer <jeroen.k.demeyer at gmail.com> added the comment:
> There is a 14% regression in creating a Fraction from an integer
Isn't that the main use case? I suggest to keep the special case for 'int' as fast path to avoid this regression.
----------
nosy: +jdemeyer
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37884>
_______________________________________
More information about the Python-bugs-list
mailing list