frozendict: an experiment

Marco Sulla elbarbun at gmail.com
Tue Jul 21 04:28:06 EDT 2020


On Tue, 21 Jul 2020 at 06:01, Inada Naoki <songofacandy at gmail.com> wrote:

> On Tue, Jul 21, 2020 at 5:07 AM Marco Sulla <elbarbun at gmail.com> wrote:
> >
> > I just finished to improve the performance of frozendict creation. The
> result is very promising.
> >
> > The speedup is about 30% for small dicts (8 items). For large dicts (1k
> items) is about 38% for dicts with only integers as keys and values, and
> 45% for dicts with only strings.
>
> Do you mean `frozendict(d)` where d is frozendict?
>

No, I mean a dictionary.


More information about the Python-list mailing list