Message294763
The PR makes different changes:
* replace lookup_method() with lookup_maybe_method()
* specialize call_xxx() functions for a fixed number of parameters
* rename lookup_maybe() to _PyObject_LookupSpecial()
If possible, I would prefer to not have to duplicate functions for 0, 1 and 2 parameters (3 variants). I would like to know which changes are responsible for the speedup.
To ease the review, would it be possible to split your change into smaller changes? At least, separated commits, maybe even a first "cleanup" PR before the "optimization" PR. |
|
Date |
User |
Action |
Args |
2017-05-30 14:37:47 | vstinner | set | recipients:
+ vstinner, pitrou, serhiy.storchaka |
2017-05-30 14:37:47 | vstinner | set | messageid: <1496155067.24.0.416474984897.issue30509@psf.upfronthosting.co.za> |
2017-05-30 14:37:47 | vstinner | link | issue30509 messages |
2017-05-30 14:37:47 | vstinner | create | |
|