Hi Anto, On Mon, Jul 18, 2011 at 12:28 PM, Antonio Cuni <anto.c...@gmail.com> wrote: > What can we conclude? That "compiling the loops" is uneffective and we only > care about compiling single functions? :-(
Or, conversely, that compiling single functions is ineffective and we only care about compiling the loops? No. I expect that on a large and messy program like translate.py, after a while, either approach should be fine. Still, there are cases where one or the other approach is better. If you want an obvious example where compiling loops is better, write a function that runs a loop a large number of times, but is itself called only a few times. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev