消息 [285639]
> Close this issue for now, until profiler shows me PyDict_XxxxxString.
I like Serhiy's rationale. We should try to avoid PyDict_GetItemString() wheneve possible. If PyDict_GetItemString() becomes a clear bottleneck, we can discuss again optimizing it. But in the meanwhile, I prefer to use anothe rule: an optimization should not modify the behaviour of a function. That's why I didn't optimize OrderedDict.pop() yet (it changed the docstring, AC should be enhanced for this case).
So yeah, let's close this one. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-01-17 13:27:12 | vstinner | 修改 | recipients:
+ vstinner, rhettinger, methane, serhiy.storchaka |
| 2017-01-17 13:27:12 | vstinner | 修改 | messageid: <1484659632.55.0.680955243655.issue29295@psf.upfronthosting.co.za> |
| 2017-01-17 13:27:12 | vstinner | 链接 | issue29295 messages |
| 2017-01-17 13:27:12 | vstinner | 创建 | |
|