Message321227
I think it is impossible to get significant impact on the Python benchmark suite from this patch. But mickrobenchmarks can expose the regression if it exists. Something like: ./python -m perf timeit -s 'class A:' -s ' @classmethod' -s ' def cm(cls): pass' -- 'A.cm()' ./python -m perf timeit -s 'class A:' -s ' @classmethod' -s ' def cm(cls): pass' -s 'f = A.cm' -- 'f()' | |
| Date | User | Action | Args | | 2018-07-07 18:03:59 | serhiy.storchaka | set | recipients: + serhiy.storchaka, gvanrossum, rhettinger, pitrou, grahamd, ionelmc, daniel.urban, berker.peksag | | 2018-07-07 18:03:59 | serhiy.storchaka | set | messageid: <1530986639.61.0.56676864532.issue19072@psf.upfronthosting.co.za> | | 2018-07-07 18:03:59 | serhiy.storchaka | link | issue19072 messages | | 2018-07-07 18:03:59 | serhiy.storchaka | create | | |