Message287436
method_fastcall4.patch: Based on method_fastcall3.patch, I just added call_unbound() and call_unbound_noarg() helper functions to factorize code. I also modified mro_invoke() to be able to remove lookup_method().
I confirm the speedup with attached bench.py:
Median +- std dev: [ref] 121 ns +- 5 ns -> [patch] 82.8 ns +- 1.0 ns: 1.46x faster (-31%) |
|
Date |
User |
Action |
Args |
2017-02-09 16:27:28 | vstinner | set | recipients:
+ vstinner, methane, serhiy.storchaka, yselivanov |
2017-02-09 16:27:28 | vstinner | set | messageid: <1486657648.75.0.292401823657.issue29507@psf.upfronthosting.co.za> |
2017-02-09 16:27:28 | vstinner | link | issue29507 messages |
2017-02-09 16:27:28 | vstinner | create | |
|