Message295984
Without Py_LOCAL_INLINE all mickrobenchmarks become about 20% slower.
I'm not sure that all these changes are needed. Maybe the same effect can be achieved by smaller changes. But I tried and failed to achieve the same performance with a smaller patch yet. Maybe you will be more lucky.
Note that even with this patch type slots still about 5% slower than ordinal methods (despite the fact that using operators needs less bytecode instructions than calling a method). There is some additional overhead. |
|
Date |
User |
Action |
Args |
2017-06-14 05:21:34 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, pitrou, vstinner |
2017-06-14 05:21:34 | serhiy.storchaka | set | messageid: <1497417694.19.0.554633943049.issue30509@psf.upfronthosting.co.za> |
2017-06-14 05:21:34 | serhiy.storchaka | link | issue30509 messages |
2017-06-14 05:21:33 | serhiy.storchaka | create | |
|