Message236367
Serhiy, I suggest you look at the code that Cython generates for its functions. It has been extensively profiled and optimised (years ago), so generating the same code for the argument clinic should yield the same performance.
And while I don't have exact numbers at hand, avoiding the tuple packing for the call by passing it into a METH_O function can make a substantial difference. It also kills support for keyword arguments, though. |
|
Date |
User |
Action |
Args |
2015-02-21 15:36:58 | scoder | set | recipients:
+ scoder, larry, serhiy.storchaka, josh.r |
2015-02-21 15:36:58 | scoder | set | messageid: <1424533018.2.0.599266075732.issue23492@psf.upfronthosting.co.za> |
2015-02-21 15:36:58 | scoder | link | issue23492 messages |
2015-02-21 15:36:57 | scoder | create | |
|