3 ms·
> I can't think of any reason on why it would be more difficult to optimise. https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/ghc-gpp.html ht
by fooker 8y ago
> I can't think of any reason on why it would be more difficult to optimise.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/ghc-gpp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
The main reason a language like SML or Haskell is difficult to optimize is because it is incredibly difficult to canonicalize for the purpose of making peephole optimizations and abstract interpretation effective.
https://sunfishcode.github.io/blog/2018/10/22/Canonicalization.html https://sunfishcode.github.io/blog/2018/10/22/Canonicalizati...