Inada Naoki <songofaca...@gmail.com> added the comment:
For class dict, there is a method cache. For instance dict, there is a LOAD_ATTR optimization. https://github.com/python/cpython/blob/b11a951f16f0603d98de24fee5c023df83ea552c/Python/ceval.c#L3458 So I want to see the performance gain of the optimization using dk_version before adding dk_version. Additionally, I am not sure why 32bit is enough for dk_version. It is another reason I want to see the optimization before adding dk_version. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44206> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com