Hi Timothy, On Fri, Feb 17, 2012 at 14:03, Timothy Baldridge <tbaldri...@gmail.com> wrote: > In general, I've been very impressed with > the performance of pypy, but this factorial program takes about 2x > longer to complete than the same routine running on CPython.
It's factorial(), so it's handling large "longs". So it's about 2x as slow as CPython. End of the story. Just to be sure, before digging into bytecodes you generate, try to compare the pure Python versions of factorial. The PyPy one is twice as slow as the CPython one because it's all about large "longs". A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev