optimization that doesn't make recompilation be needed more often?

Simon Peyton-Jones simonpj at microsoft.com
Mon May 21 04:32:16 EDT 2007


Try -fomit-interface-pragmas

Regardless of optimisation level, this tells GHC to generate only *essential* info in interface files (notably type signatures).   That will kill all cross-module inlinings, but it will also dramatically reduce cross-module recompilation dependencies; in fact it'll reduce them back to the -Onot level.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On
| Behalf Of Isaac Dupree
| Sent: 18 May 2007 22:51
| To: GHC Users
| Subject: optimization that doesn't make recompilation be needed more often?
|
| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
|
| Could there be a flag weaker than -O that doesn't cause recompilation
| any more than -O0 does -- would that provide any worthwhile
| optimizations?  (an intermediate speed-tradeoff option for haskell
| developers.)  Dependency on the details of modules never expected to be
| recompiled (e.g. base library, or any package not currently being
| compiled, but those are just heuristics) should be fine.
|
| Wondering,
|
| Isaac
| -----BEGIN PGP SIGNATURE-----
| Version: GnuPG v1.4.6 (GNU/Linux)
| Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|
| iD8DBQFGTh/PHgcxvIWYTTURAk6bAJwJm9p9A2z2oyRdHd3YsqmEGdd7MQCfd7LV
| E3FgIi+XUZNsRlzgxKPhIGI=
| =OzsN
| -----END PGP SIGNATURE-----
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list