On Mon, Jul 18, 2011 at 1:58 PM, Armin Rigo <ar...@tunes.org> wrote:
> 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.
>

Or hakan's video editing code ;-)

What's although worth considering is how to get stuff optimized even
if we don't have loops (but I guess carl has already started)
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to