Linking in Dead Code
Simon Marlow
marlowsd at gmail.com
Mon May 16 15:03:05 CEST 2011
On 14/05/2011 19:10, Daniel Fischer wrote:
> On Friday 13 May 2011 13:04:14, Guy wrote:
>> If only 1% of an imported module is used, GHC will link in the entire
>> module.
>
> With split-objs, as far as I know, GHC only links in what you use (plus the
> module initialiser).
FYI, in 7.2.1, the module initialiser is gone.
http://hackage.haskell.org/trac/ghc/changeset/a52ff7619e8b7d74a9d933d922eeea49f580bca8
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list