Cost of Overloading vs. HOFs

kahl at kahl at
Fri May 4 17:13:52 EDT 2007

Adrian Hey wrote:
 > Duncan Coutts wrote:
 > > One might hope that in this case we could hoist the extraction of the
 > > dictionary members outside the inner loop.
 > This possibility had crossed my mind too. If HOFs really are faster
 > (for whatever reason) then it should be possible for a compiler to
 > do this automatically.

Once everything is in terms of dictionaries,
this should even be part of ``full laziness''.


More information about the Glasgow-haskell-users mailing list