[issue32630] Migrate decimal to use PEP 567 context variables

Stefan Krah report at bugs.python.org
Fri Jan 26 16:12:40 EST 2018


Stefan Krah <stefan at bytereef.org> added the comment:

On Fri, Jan 26, 2018 at 09:06:38PM +0000, Yury Selivanov wrote:
> This benchmark is specially constructed to profile creating decimal contexts and doing almost nothing with the

It is not constructed at all.  It was the first thing I wrote down trying
to play a bit with speed.

Even the telco benchmark (where there's a lot of other stuff going
on) slows down by around 7-8%.

I did not hunt for these benchmarks. They are the first things I tried out.  I
cannot believe that you never saw a slowdown as claimed in your OP.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32630>
_______________________________________


More information about the Python-bugs-list mailing list