whole program optimization

Simon Peyton-Jones simonpj at microsoft.com
Fri Dec 28 06:34:49 EST 2007

| Am Sonntag, 23. Dezember 2007 13:35 schrieb Isaac Dupree:
| > GHC optimizes less effectively when parts of a program are in different
| > modules, or are exported from a module.
| By the way, does GHC do cross-package optimization (not just cross-module
| optimization within packages)?

GHC does cross-package inlining just as it does cross-module inlining, which is I guess what you mean. This has the downside that you can't re-link with another version of the same package, even if it exports the same API.  But it makes a huge difference to optimization.


More information about the Glasgow-haskell-users mailing list