[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pypy-dev
Subject:    Re: [pypy-dev] PyPy is much slower than CPython example / question
From:       Alex Gaynor <alex.gaynor () gmail ! com>
Date:       2011-07-09 4:40:18
Message-ID: CAFRnB2Vw0=nxd3KU2gVkHXsvjj=3o5SG0Pqeuk1+RAothm3w5A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I'm not too sure what could be better wrong with it, it's rather short:
https://bitbucket.org/pypy/pypy/src/default/pypy/module/itertools/interp_itertools.py#cl-85

Alex

On Fri, Jul 8, 2011 at 2:18 AM, Armin Rigo <arigo@tunes.org> wrote:

> Hi Alex,
>
> Before attacking the problem with the JIT, we should understand better
> why PyPy is 4-8 times slower than CPython.  Normally you'd expect the
> factor to be at most 2.  I suppose the answer is that our
> itertools.repeat() is bad for some reason.
>
>
> A bientôt,
>
> Armin.
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero

[Attachment #5 (text/html)]

I&#39;m not too sure what could be better wrong with it, it&#39;s rather short:  \
<meta http-equiv="content-type" content="text/html; charset=utf-8"><a \
href="https://bitbucket.org/pypy/pypy/src/default/pypy/module/itertools/interp_itertoo \
ls.py#cl-85">https://bitbucket.org/pypy/pypy/src/default/pypy/module/itertools/interp_itertools.py#cl-85</a><div>
 <br></div><div>Alex<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 2:18 AM, \
Armin Rigo <span dir="ltr">&lt;<a \
href="mailto:arigo@tunes.org">arigo@tunes.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;"> Hi Alex,<br>
<br>
Before attacking the problem with the JIT, we should understand better<br>
why PyPy is 4-8 times slower than CPython.   Normally you&#39;d expect the<br>
factor to be at most 2.   I suppose the answer is that our<br>
itertools.repeat() is bad for some reason.<br>
<br>
<br>
A bientôt,<br>
<font color="#888888"><br>
Armin.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>&quot;I disapprove of what \
you say, but I will defend to the death your right to say it.&quot; -- Evelyn \
Beatrice Hall (summarizing Voltaire)<br>&quot;The people&#39;s good is the highest \
law.&quot; -- Cicero<br> <br>
</div>



_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic