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, vstinner, yselivanov
Date 2017-08-10.21:43:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502401382.47.0.942281203092.issue31179@psf.upfronthosting.co.za>
In-reply-to
Content
> PyDict_Copy creates a new empty dict object and then inserts key/values into it one by one.

Why not creating a "preallocated" dict in that case? _PyDict_NewPresized()
History
Date User Action Args
2017-08-10 21:43:02vstinnersetrecipients: + vstinner, methane, yselivanov
2017-08-10 21:43:02vstinnersetmessageid: <1502401382.47.0.942281203092.issue31179@psf.upfronthosting.co.za>
2017-08-10 21:43:02vstinnerlinkissue31179 messages
2017-08-10 21:43:02vstinnercreate