Re: [Python-Dev] PEP 575 (Unifying function/method classes) update
On 2018-06-18 15:09, Victor Stinner wrote:
2) we implemented a lot of other optimizations which made calls faster without having to touch tp_call nor tp_fastcall.
And that's a problem because these optimizations typically only work for specific classes. My PEP wants to replace those by something more structural.
On Mon, Jun 18, 2018 at 11:33 PM Jeroen Demeyer
On 2018-06-18 15:09, Victor Stinner wrote:
2) we implemented a lot of other optimizations which made calls faster without having to touch tp_call nor tp_fastcall.
And that's a problem because these optimizations typically only work for specific classes. My PEP wants to replace those by something more structural.
And we need data how much it speedup some applications, not only
microbenchmarks.
Speeding up most python function and some bultin functions was very
significant.
But I doubt making some 3rd party call 20% faster can make real
applications significant faster.
--
INADA Naoki
Like Inada-san, I would like to see the implementation first.
On Mon, Jun 18, 2018, 07:33 Jeroen Demeyer
On 2018-06-18 15:09, Victor Stinner wrote:
2) we implemented a lot of other optimizations which made calls faster without having to touch tp_call nor tp_fastcall.
And that's a problem because these optimizations typically only work for specific classes. My PEP wants to replace those by something more structural.
_______________________________________________ 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/guido%40python.org
participants (3)
-
Guido van Rossum
-
INADA Naoki
-
Jeroen Demeyer