Message300123
| Author | yselivanov |
|---|---|
| Recipients | methane, vstinner, 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:08 | yselivanov | set | recipients: + yselivanov, vstinner, methane |
| 2017-08-10 21:46:08 | yselivanov | set | messageid: <1502401568.1.0.958545967471.issue31179@psf.upfronthosting.co.za> |
| 2017-08-10 21:46:08 | yselivanov | link | issue31179 messages |
| 2017-08-10 21:46:08 | yselivanov | create | |