Mattias Bengtsson | 15 May 20:56
Picon
Picon

Re: Write Haskell as fast as C. [Was: Re: GHC predictability]

On Thu, 2008-05-15 at 11:31 -0700, Don Stewart wrote:
> I've written an extended post on how to understand and reliably optimise
> code like this, looking at it all the way down to the assembly.
> 
> The result are some simple rules to follow for generated code as good
> as gcc -O2.
> 
> Enjoy,
> 
>     http://cgi.cse.unsw.edu.au/~dons/blog/2008/05/16#fast

A good read. 

Side point: Is the name "go" part of the idiom you mentioned? I
sometimes use the same practise but usually just calls the worker the
same as the real function with an added prime (').
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Gmane