STINNER Victor added the comment: Xiang Zhang added the comment: > How about let PyDict_GetItem call it?
PyDict_GetItem() is like the most important function in term of performance for Python. If you want to touch it, you must benchmark it. I would prefer to keep it as it is. > Just like the relationship of delitem and delitem_knownhash. delitem is less important in term of performance, so I decided to accept Naoki's change to merge duplicated code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28123> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com