Author yselivanov
Recipients haypo, inada.naoki, yselivanov
Date 2017-08-10.21:46:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502401568.1.0.958545967471.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()

I don't think it's related to the proposed patch.  Please take a look at the PR.  `_PyDict_NewPresized` and inserting entries one by one will not be faster than a `memcpy`.
History
Date User Action Args
2017-08-10 21:46:08yselivanovsetrecipients: + yselivanov, haypo, inada.naoki
2017-08-10 21:46:08yselivanovsetmessageid: <1502401568.1.0.958545967471.issue31179@psf.upfronthosting.co.za>
2017-08-10 21:46:08yselivanovlinkissue31179 messages
2017-08-10 21:46:08yselivanovcreate