[issue28638] Optimize namedtuple creation
Raymond Hettinger
report at bugs.python.org
Thu Jul 20 11:33:23 EDT 2017
Raymond Hettinger added the comment:
> it would be *nice* to not only optimization the creation
> but also attribute access by name
FWIW, once the property/itemgetter pair are instantiated in the NT class, the actual lookup runs through them at C speed (no pure python steps). There is not much fluff here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28638>
_______________________________________
More information about the Python-bugs-list
mailing list