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 <>
> 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()
Date User Action Args
2017-08-10 21:43:02vstinnersetrecipients: + vstinner, methane, yselivanov
2017-08-10 21:43:02vstinnersetmessageid: <>
2017-08-10 21:43:02vstinnerlinkissue31179 messages
2017-08-10 21:43:02vstinnercreate