Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Thank you for your microbenchmark Inada. The difference is small, but repeating 
it with different modifications almost always show small speedup.

The only problem is that this change increases the size of dict object by one 
word (up to 3% for small dicts).

I don't know what is better place for this flag, the dict object itself or the 
dict keys object.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31954>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to