[PyPy-issue] [issue703] Pypy runs slower that cpython in a function call cache

Bouchard pypy-dev-issue at codespeak.net
Sat Apr 30 23:00:41 CEST 2011

Bouchard <guillaume.bouchard at liris.cnrs.fr> added the comment:

Sorry, in the attached code, there is a special case for python 3.2 that use the
functool.lru_cache method instead of the writed method.

You can comment out it, the time results (and the issue) are still valid.

In fact, the functool.lru_cache (used only for cpython time measure) is slower
than the attached lru_cache function, so in fact python3.2 runs a bit quicker
than what I have writed. This does not changes the pypy1.5 time measures.

status: unread -> chatting

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

More information about the Pypy-issue mailing list