[issue42141] Speedup various dict inits
Inada Naoki
report at bugs.python.org
Sat Oct 24 20:38:56 EDT 2020
Inada Naoki <songofacandy at gmail.com> added the comment:
> 1. dicts from other dicts that are not "perfect" (combined and without holes)
> 3. copies of dicts with many holes
Note that I have optimized and rejected it by myself already.
See https://github.com/python/cpython/pull/21669
and https://bugs.python.org/issue41431#msg374556
Code duplication is too huge compared to performance gain.
----------
nosy: +methane
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42141>
_______________________________________
More information about the Python-bugs-list
mailing list