Author inada.naoki
Recipients inada.naoki
Date 2020-07-29.03:10:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595992235.95.0.104121730588.issue41431@roundup.psfhosted.org>
In-reply-to
Content
PyDict_Copy() is not used in eval loop or calling functions. So removing clone_combined_dict() is a considerable option.

Another option is to use clone_combined_dict() in dict_merge, instead of adding dict_copy2().

Pros: No performance regression. PyDict_Copy() is as fast as before.
Cons: Can not "fast copy" split dict and dirty dict.

I suppose most dict used by `dict(d)` or `dict.update(d)` is clean and combined. So I will implement the second option.
History
Date User Action Args
2020-07-29 03:10:35inada.naokisetrecipients: + inada.naoki
2020-07-29 03:10:35inada.naokisetmessageid: <1595992235.95.0.104121730588.issue41431@roundup.psfhosted.org>
2020-07-29 03:10:35inada.naokilinkissue41431 messages
2020-07-29 03:10:35inada.naokicreate