[PyPy-issue] [issue656] Python code 20x slower than C++

Armin Rigo pypy-dev-issue at codespeak.net
Sat Mar 5 16:59:18 CET 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

Ah.  I remember indeed that I added special-casing code for min(a,b).  A bit
unclear what to do; we can extend the special case to min(a,b,c), which is still
ok, but we shouldn't use it in general for min(a,b,c,d,...,y,z) because it
creates a series of many guards, each of which can fail.

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list