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.

Author vstinner
Recipients methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-01-17.13:27:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484659632.55.0.680955243655.issue29295@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2017-01-17 13:27:12vstinnersetrecipients: + vstinner, rhettinger, methane, serhiy.storchaka
2017-01-17 13:27:12vstinnersetmessageid: <1484659632.55.0.680955243655.issue29295@psf.upfronthosting.co.za>
2017-01-17 13:27:12vstinnerlinkissue29295 messages
2017-01-17 13:27:12vstinnercreate