[Python-Dev] Micro-benchmarks for PEP 580 (original) (raw)
Jeroen Demeyer J.Demeyer at UGent.be
Tue Jul 10 09:29:41 EDT 2018
- Previous message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Next message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 PyArgParse*, we can bypass temporal Python object and call myfuncimpl directly.
Indeed, I already mentioned this at https://www.python.org/dev/peps/pep-0579/#allowing-native-c-arguments
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.
Jeroen.
- Previous message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Next message (by thread): [Python-Dev] Micro-benchmarks for PEP 580
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]