[issue30156] PYTHONDUMPREFS segfaults on exit

Serhiy Storchaka report at bugs.python.org
Tue Apr 25 02:16:21 EDT 2017


Serhiy Storchaka added the comment:

Removing this micro-optimization makes attribute access in namedtuple more than 1.5 times slower:

Mean +- std dev: [python.default] 126 ns +- 4 ns -> [python] 200 ns +- 7 ns: 1.58x slower (+58%)

This would be a significant regression.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list