Serhiy Storchaka <[email protected]> added the comment:
Please repeat benchmarking for interned names:
kwargs = {sys.intern("a"*i): None for i in range(1, N+1)}
and for more distinctive names:
kwargs = {sys.intern(f"a{i}"): None for i in range(1, N+1)}
I guess the difference will be lesser.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44160>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com