patch applied (ghc-6.8/packages/base): Fix performance regression:
re-instate -funbox-strict-fields
Ian Lynagh
igloo at earth.li
Tue Oct 30 22:19:40 EDT 2007
Mon Oct 29 08:07:30 PDT 2007 Simon Marlow <simonmar at microsoft.com>
* Fix performance regression: re-instate -funbox-strict-fields
Yikes! While investigating the increase in code size with GHC 6.8
relative to 6.6, I noticed that in the transition to Cabal for the
libraries we lost -funbox-strict-fields, which is more or less
depended on by the IO library for performance. I'm astonished that we
didn't notice this earlier!
To reduce the chances of this happening again, I put
-funbox-strict-fields in the OPTIONS_GHC pragma of the modules that
need it. {-# UNPACK #-} pragmas would be better, though.
M ./Data/HashTable.hs -1 +1
M ./Data/Typeable.hs -1 +1
M ./GHC/Arr.lhs -1 +1
M ./GHC/IOBase.lhs -1 +1
More information about the Cvs-libraries
mailing list