
28 Dec
2007
28 Dec
'07
11:34 a.m.
| 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. Simon