
31 Jul
2007
31 Jul
'07
9:42 p.m.
darrelll:
Is there a good source for the operational semantics of Haskell? I am trying to squeeze the most efficiency out of a bit of code and am looking to remove unnecessary reductions.
The best thing is to look at the tricks on the performance wiki, http://haskell.org/haskellwiki/Performance The most useful tools are profiling (ghc -O2 -prof -auto-all ; then run ./a.out with +RTS -p), and reading the intermediate Core GHC produces. -- Don