Ken Jin <kenjin4...@gmail.com> added the comment:
Slightly off topic rambling: My own toy attempts at classmethod specialization suggested that it barely sped anything up. Most of the time went to creation of the new classmethod object. I'd imagine supporting Py_TPFLAGS_METHOD_DESCRIPTOR would speed things up, but they cover such a small % of calls that Py_TPFLAGS_METHOD_DESCRIPTOR's complexity might not be worth it. Increasing specialization percentage is always a plus though. LOAD_METHOD needs better specialization success rates. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46533> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com