[issue13903] New shared-keys dictionary implementation

Antoine Pitrou report at bugs.python.org
Tue Jan 31 13:55:33 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

As Victor I think the tunables could be changed separately, unless they truely get in the way of the shared-keys optimization.

By the way, there will need a "protection" for the case where instances are used as bags of key/value pairs (dict-alikes with attribute access). Perhaps bound the size of the keys array to 100 entries and then switch into unshared mode.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13903>
_______________________________________


More information about the Python-bugs-list mailing list