<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 29, 2017 at 7:15 AM, Serhiy Storchaka <span dir="ltr"><<a href="mailto:storchaka@gmail.com" target="_blank">storchaka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">29.05.17 15:13, Antoine Pitrou пише:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I hope readers won't get bothered by what is mostly a link to blogpost<br>
(well, two of them :-)), but I suspect there at least 2 or 3 people<br>
who might be interested in the following analysis:<br>
<a href="https://www.corsix.org/content/compilers-cpython-interpreter-main-loop" rel="noreferrer" target="_blank">https://www.corsix.org/content<wbr>/compilers-cpython-interpreter<wbr>-main-loop</a><br>
<a href="http://www.corsix.org/content/micro-optimisations-can-speed-up-cpython" rel="noreferrer" target="_blank">http://www.corsix.org/content/<wbr>micro-optimisations-can-speed-<wbr>up-cpython</a><br>
</blockquote>
<br></span>
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? ;-)<br>
<br>
And the following article should be especially interesting for Victor:<br>
<br>
<a href="https://www.corsix.org/content/why-are-slots-so-slow" rel="noreferrer" target="_blank">https://www.corsix.org/content<wbr>/why-are-slots-so-slow</a><br></blockquote><div><br></div><div>Is the author of that article using non-standard terminology? The article doesn't appear to be about __slots__ at all.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The part of optimizations already are applied in 3.6 and 3.7, but `a + b` still is slower than `a.__add__(b)`.<br clear="all"></blockquote></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div>