[issue14478] Decimal hashing very slow, could be cached

Serhiy Storchaka report at bugs.python.org
Tue Apr 10 19:29:19 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

> Using except: pass as opposed to sticking everything inside the except statement is also very slightly slower as well

I ran the test several times and didn't see the difference between pass
and sticking variants more than between different runs of the same
variant. If it is, then this is a reason for the interpreter
optimization.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14478>
_______________________________________


More information about the Python-bugs-list mailing list