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 benjamin.peterson
Recipients benjamin.peterson
Date 2016-09-05.19:02:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473102133.16.0.696964293118.issue27956@psf.upfronthosting.co.za>
In-reply-to
Content
dict_traverse shows up a lot on statistical profiles of Python programs. This is not surprising since Python programs have lots of dicts. There isn't a huge amount of room for optimization here, but we can avoid some memory indirection. This patch saves a few percent of time through this function in my measurements.
History
Date User Action Args
2016-09-05 19:02:13benjamin.petersonsetrecipients: + benjamin.peterson
2016-09-05 19:02:13benjamin.petersonsetmessageid: <1473102133.16.0.696964293118.issue27956@psf.upfronthosting.co.za>
2016-09-05 19:02:12benjamin.petersonlinkissue27956 messages
2016-09-05 19:02:12benjamin.petersoncreate