Library-vs-local performance

Scott Dillard sedillard at
Tue Jun 24 19:18:37 EDT 2008

On Tue, Jun 24, 2008 at 4:15 PM, Don Stewart <dons at> wrote:

> Nope, there's a lot of optimisations taking place on the core-to-core
> phase, to ensure the core that gets unfolded into your .hi files is as
> nice as possible. And then still there's things that actually stay as
> calls into your compiled library -- for those, you'll want direct jumps
> and so forth, which you get with -fvia-C -optc-O2 and above.
> See my recent post on micro optimisations.
> -- Don

Fair enough, but I don't think that's whats going on here specifically. I
can't get ghc-options to effect any change, one way or the other. I guess
its a mystery for now.

Thanks for the replies.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Glasgow-haskell-users mailing list