INADA Naoki schrieb am 11.07.2018 um 02:01: > On Wed, Jul 11, 2018 at 7:47 AM Victor Stinner wrote: >> I proposed something simpler, but nobody tried to implement it. >> Instead of calling the long and complex PyArg_Parse...() functions, >> why not generating C code to parse arguments instead? The idea looks >> like "inlining" PyArg_Parse...() in its caller, but technically it >> means that Argument Clinic generates C code to parse arguments. > > But I have worrying about it. If we do it for all function, it makes Python > binary fatter, consume more CPU cache. Once CPU cache is start > stashing, application performance got slower quickly.
Now, I'd like to see benchmark numbers for that before I believe it. Macro benchmarks, not micro benchmarks! *wink* Stefan _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com