← 输入框|bugs.python.org|刷新

➜

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
收信人 pitrou, rhettinger, serhiy.storchaka
日期 2013-10-23.19:46:00
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1382557562.03.0.635238636735.issue19332@psf.upfronthosting.co.za>
In-reply-to
内容
In the first patch the counter was placed in the _dictkeysobject structure. In the second place it is placed in the PyDictObject so it now has no memory cost. Access time to new counter for non-modifying operations is same as in current code. The only additional cost is time cost for modifying operations. But modifying operations is usually much rare than non-modifying operations, and the incrementing one field takes only small part of the time needed for all operation. I don't think this will affect total performance of real programs.
历史
日期 用户 动作 参数
2013-10-23 19:46:02serhiy.storchaka修改recipients: + serhiy.storchaka, rhettinger, pitrou
2013-10-23 19:46:02serhiy.storchaka修改messageid: <1382557562.03.0.635238636735.issue19332@psf.upfronthosting.co.za>
2013-10-23 19:46:02serhiy.storchaka链接issue19332 messages
2013-10-23 19:46:01serhiy.storchaka创建