Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
State lookups and indirections were added to most performance sensitive code part of the _functools_state *state; state = get_functools_state_by_type(Py_TYPE(self)); if (state == NULL) { return NULL; } key = lru_cache_make_key(state, args, kwds, self->typed); I think it should be removed for Python3.10. Right now, it is of zero value to users (actually, negative value). ---------- nosy: +pablogsal, rhettinger, serhiy.storchaka priority: normal -> high resolution: fixed -> status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40137> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com