Message380222
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. |
|
Date |
User |
Action |
Args |
2020-11-02 14:13:06 | methane | set | recipients:
+ methane, Mark.Shannon, serhiy.storchaka, Marco Sulla |
2020-11-02 14:13:06 | methane | set | messageid: <1604326386.91.0.682916955039.issue41835@roundup.psfhosted.org> |
2020-11-02 14:13:06 | methane | link | issue41835 messages |
2020-11-02 14:13:06 | methane | create | |
|