[project @ 2005-08-09 13:21:13 by simonmar]
authorsimonmar <unknown>
Tue, 9 Aug 2005 13:21:13 +0000 (13:21 +0000)
committersimonmar <unknown>
Tue, 9 Aug 2005 13:21:13 +0000 (13:21 +0000)
commitfe1f6b03e7f151fcd27170046e2116fd7f400d4d
treee0956f5f80c1ac902af790dd428d4779ce45b0c6
parentf5aeb6b56e5aac907643072c73ef1623195e0c6b
[project @ 2005-08-09 13:21:13 by simonmar]
mapUFM was strict in the structure of the tree, perhaps accidentally.
In any case, this interacted badly with the use of mapVarEnv in
SimplEnv.mkCoreSubst, which assumed that the map was lazy.

mapUFM is now lazy in the structure of the tree, which matches the
behaviour of FiniteMap.mapFM.

This fixes some long compilation times, in particular HTMLMonad98.hs
from WASH used to take 2 mins to compile without optimisation, now
takes less than 20 seconds.
ghc/compiler/utils/UniqFM.lhs