➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 serhiy.storchaka
收信人 brett.cannon, eric.snow, ncoghlan, random832, rhettinger, serhiy.storchaka, xiang.zhang
日期 2016-04-21.06:40:24
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1461220824.57.0.867319760136.issue26811@psf.upfronthosting.co.za>
In-reply-to
内容
Ah, yes, 5dbf3d932a59 partially fixed this optimization. Saving None in a tuple (as I believe done in itertools/zip/enumerate optimization) should fix this issue. I agree that the code is too tricky (as well as the code in itertools/zip/enumerate). It would be better to make tuple creation faster instead of adding special caches in separate functions (see also issue23507). But for now this optimization makes attribute access in named tuples 30% faster, and this is good argument for keeping it.
历史
日期 用户 动作 参数
2016-04-21 06:40:24serhiy.storchaka修改recipients: + serhiy.storchaka, brett.cannon, rhettinger, ncoghlan, eric.snow, random832, xiang.zhang
2016-04-21 06:40:24serhiy.storchaka修改messageid: <1461220824.57.0.867319760136.issue26811@psf.upfronthosting.co.za>
2016-04-21 06:40:24serhiy.storchaka链接issue26811 messages
2016-04-21 06:40:24serhiy.storchaka创建