[issue28638] Optimize namedtuple creation

STINNER Victor report at bugs.python.org
Mon Jul 17 09:04:28 EDT 2017


STINNER Victor added the comment:

> So structseq is 1.9x faster than namedtuple to get an attribute by name.

Oops, I wrote it backward: So namedtuple is 1.9x slower than structseq to get an attribute by name.

(1.9x slower doesn't mean 1.9x faster, sorry.)

----------

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


More information about the Python-bugs-list mailing list