[Python-Dev] "Micro-optimisations can speed up CPython"
Guido van Rossum
guido at python.org
Mon May 29 22:27:05 EDT 2017
On Mon, May 29, 2017 at 7:15 AM, Serhiy Storchaka <storchaka at gmail.com>
wrote:
> 29.05.17 15:13, Antoine Pitrou пише:
>
>> I hope readers won't get bothered by what is mostly a link to blogpost
>> (well, two of them :-)), but I suspect there at least 2 or 3 people
>> who might be interested in the following analysis:
>> https://www.corsix.org/content/compilers-cpython-interpreter-main-loop
>> http://www.corsix.org/content/micro-optimisations-can-speed-up-cpython
>>
>
> Interesting articles, thank you. I wonder why the author doesn't propose
> his patches for CPython. Does he fear that CPython can become faster than
> Lua? ;-)
>
> And the following article should be especially interesting for Victor:
>
> https://www.corsix.org/content/why-are-slots-so-slow
>
Is the author of that article using non-standard terminology? The article
doesn't appear to be about __slots__ at all.
> The part of optimizations already are applied in 3.6 and 3.7, but `a + b`
> still is slower than `a.__add__(b)`.
>
--
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170529/3a146953/attachment.html>
More information about the Python-Dev
mailing list