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 methane
Recipients Marco Sulla, Mark.Shannon, methane, serhiy.storchaka
Date 2020-11-02.14:13:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604326386.91.0.682916955039.issue41835@roundup.psfhosted.org>
In-reply-to
Content
While this is an interesting optimization, the gain is not enough.
I close this issue for now.

@Marco Sulla
Optimizing dict is a bit hard job. If you want to continue, I have an idea:
`dict(zip(keys, row))` is common use case. It is used by asdict() in datacalss, _asdict() in namedtuple, and csv DictReader.
Sniffing zip object and presizing dict may be interesting optimization.

But note that this idea has low chance of accepted too. We tries many ideas like this and reject them by ourselves even without creating a pull request.
History
Date User Action Args
2020-11-02 14:13:06methanesetrecipients: + methane, Mark.Shannon, serhiy.storchaka, Marco Sulla
2020-11-02 14:13:06methanesetmessageid: <1604326386.91.0.682916955039.issue41835@roundup.psfhosted.org>
2020-11-02 14:13:06methanelinkissue41835 messages
2020-11-02 14:13:06methanecreate