b@n added the comment:
A little performance optimization, but I think the key is not in performance
optimization.
The semantics of the dictresize function are not uniform, and it is
inconvenient for others to read. The dictresize function should be split to
make it just resize. What do you
b@n added the comment:
Will not break OrderedDict, The order is still the same.
--
___
Python tracker
<https://bugs.python.org/issue33554>
___
___
Python-bug
New submission from b@n :
make_keys_shared reusing oldkeys memory
--
components: Interpreter Core
messages: 316901
nosy: b@n
priority: normal
severity: normal
status: open
title: Optimize PyDictObject
type: enhancement
versions: Python 3.8
___
Python