<div dir="ltr">I don't think this is a GC case. I think this is a case of loops with only a few iterations aren't fast enough.<div><br></div><div>Alex</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 30, 2013 at 3:13 PM, Maciej Fijalkowski <span dir="ltr"><<a href="mailto:fijall@gmail.com" target="_blank">fijall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is a kind of example where our GC card marking does not quite<br>
work. I think the improve-rdict branch should improve this kind of<br>
code quite a bit (but I still have to finish it)<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Apr 30, 2013 at 6:51 PM, Armin Rigo <<a href="mailto:arigo@tunes.org">arigo@tunes.org</a>> wrote:<br>
> Hi,<br>
><br>
> On Tue, Apr 30, 2013 at 5:26 AM, cat street <<a href="mailto:gamcat@gmail.com">gamcat@gmail.com</a>> wrote:<br>
>> You can test this code:<br>
>> (...)<br>
><br>
> For no good reason it seems that on this example CPython is quite a<br>
> bit faster on Linux64 than on Linux32.  PyPy is also a bit faster on<br>
> Linux64 but not by such a large margin.  In my tests (PyPy vs CPython)<br>
> it ends up the same on Linux32, and on Linux64 PyPy is a bit slower<br>
> (20%?).  I think it's good enough given the type of code (completely<br>
> unoptimizable as far as I can tell, unless we go for "we can kill the<br>
> whole loop in this benchmark", which is usually a bit pointless in<br>
> real code).  If others want to look in detail at JIT traces, feel free<br>
> to.<br>
><br>
><br>
> A bientôt,<br>
><br>
> Armin.<br>
> _______________________________________________<br>
> pypy-dev mailing list<br>
> <a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>
"The people's good is the highest law." -- Cicero<br><div>GPG Key fingerprint: 125F 5C67 DFE9 4084</div></div>
</div>