[pypy-dev] Benchmarks

Maciej Fijalkowski fijall at gmail.com
Mon Jul 18 21:27:40 CEST 2011


On Mon, Jul 18, 2011 at 1:58 PM, Armin Rigo <arigo at tunes.org> wrote:
> Hi Anto,
>
> On Mon, Jul 18, 2011 at 12:28 PM, Antonio Cuni <anto.cuni at 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)


More information about the pypy-dev mailing list