[issue39117] Performance regression for making bound methods

Raymond Hettinger report at bugs.python.org
Tue Apr 28 15:18:56 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

This performance regression in still present in 3.9.0a6

Results from Tools/scripts/var_access_benchmark.py:

                         Python 3.8.2       Python 3.9.0a6
                         ------------       --------------
  read_boundmethod          27.7 ns	        47.1 ns




> Is this regression is large enough to revive the free_list 
> for bound methods?

Yes!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39117>
_______________________________________


More information about the Python-bugs-list mailing list