On Sat, Sep 11, 2010 at 4:16 PM, Daniel Fischer
<daniel.is.fisc...@web.de> wrote:
> ...
> I don't pretend to understand at the processor level why f4's loop is
> faster that f2's and f3's, but I've observed on several occasions that
> parameter order plays a big rĂ´le for performance. Apart from the rule to
> order them in increasing order of variation, on my box, getting Int#
> parameters first (in the core) is better (in particular, getting them
> before Double# parameters, doesn't seem to make so much difference for
> lists or boxed types in general), so that might explain the difference.
> ...

Thanks, I'll keep that in mind.

Bas
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to