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

Alex Gaynor pypy-dev-issue at codespeak.net
Sat Mar 5 16:54:41 CET 2011

Alex Gaynor <alex.gaynor at gmail.com> added the comment:

Changing min(a, b, c) to min(a, min(b, c)) brings this down to a reasonable 4x
slower (by removing all 5 allocations from the inner loop).

status: unread -> chatting

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

More information about the Pypy-issue mailing list