[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Micro-benchmarks for PEP 580

On 2018-07-10 14:59, INADA Naoki wrote:
> Currently, we create temporary long object for passing argument.
> If there is protocol for exposeing format used by PyArg_Parse*, we can
> bypass temporal Python object and call myfunc_impl directly.

Indeed, I already mentioned this at

The way I see it, these kind of improvements should be done on top of 
PEP 580. Maybe I didn't emphasize this enough, but one of the goals of 
PEP 580 is to create an *extensible* protocol where such features can 
easily be added later in a compatible way.