[project @ 2003-08-15 11:31:02 by simonmar] Fix a cause of non-linearity when compiling code with large amounts of static data, such as long lists of integers.
[project @ 2003-08-15 11:31:02 by simonmar]
Fix a cause of non-linearity when compiling code with large amounts of
static data, such as long lists of integers.

The problem was that CorePrep was calling allLazy on the list of
floated bindings at each level of a nested let, and allLazy runs over
all the bindings floated so far, hence O(n^2) performance.  The fix is
to cache the result of allLazy along with the list of floated
bindings.

nomeata/ghc,acowley/ghc,bitemyapp/ghc,elieux/ghc,siddhanathan/ghc,ezyang/ghc,ekmett/ghc,ml9951/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,nomeata/ghc,nomeata/ghc,bitemyapp/ghc,mettekou/ghc,ekmett/ghc,GaloisInc/halvm-ghc,GaloisInc/halvm-ghc,sdiehl/ghc,fmthoma/ghc,lukexi/ghc-7.8-arm64,nushio3/ghc,tibbe/ghc,mfine/ghc,wxwxwwxxx/ghc,ghc-android/ghc,fmthoma/ghc,vikraman/ghc,mcmaniac/ghc,da-x/ghc,lukexi/ghc-7.8-arm64,siddhanathan/ghc,mcmaniac/ghc,vTurbine/ghc,nkaretnikov/ghc,jstolarek/ghc,sdiehl/ghc,urbanslug/ghc,nushio3/ghc,anton-dessiatov/ghc,green-haskell/ghc,ml9951/ghc,lukexi/ghc-7.8-arm64,ryantm/ghc,tibbe/ghc,ml9951/ghc,green-haskell/ghc,vTurbine/ghc,snoyberg/ghc,tjakway/ghcjvm,nkaretnikov/ghc,jstolarek/ghc,christiaanb/ghc,da-x/ghc,ryantm/ghc,mcmaniac/ghc,anton-dessiatov/ghc,jstolarek/ghc,olsner/ghc,shlevy/ghc,snoyberg/ghc,ilyasergey/GHC-XAppFix,mcmaniac/ghc,shlevy/ghc,fmthoma/ghc,olsner/ghc,nkaretnikov/ghc,da-x/ghc,mcschroeder/ghc,mfine/ghc,ezyang/ghc,ekmett/ghc,da-x/ghc,TomMD/ghc,mcschroeder/ghc,sdiehl/ghc,hferreiro/replay,mcschroeder/ghc,sdiehl/ghc,christiaanb/ghc,forked-upstream-packages-for-ghcjs/ghc,spacekitteh/smcghc,ilyasergey/GHC-XAppFix,jstolarek/ghc,tibbe/ghc,green-haskell/ghc,siddhanathan/ghc,mettekou/ghc,gcampax/ghc,lukexi/ghc,ghc-android/ghc,vTurbine/ghc,frantisekfarka/ghc-dsi,oldmanmike/ghc,gcampax/ghc,ekmett/ghc,tibbe/ghc,tjakway/ghcjvm,vikraman/ghc,TomMD/ghc,snoyberg/ghc,olsner/ghc,elieux/ghc,acowley/ghc,acowley/ghc,TomMD/ghc,gcampax/ghc,green-haskell/ghc,nkaretnikov/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,mcschroeder/ghc,oldmanmike/ghc,vTurbine/ghc,mettekou/ghc,ezyang/ghc,GaloisInc/halvm-ghc,spacekitteh/smcghc,jstolarek/ghc,sgillespie/ghc,holzensp/ghc,sdiehl/ghc,wxwxwwxxx/ghc,oldmanmike/ghc,snoyberg/ghc,siddhanathan/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,lukexi/ghc,urbanslug/ghc,gridaphobe/ghc,ezyang/ghc,nathyong/microghc-ghc,christiaanb/ghc,mettekou/ghc,mcschroeder/ghc,ezyang/ghc,fmthoma/ghc,bitemyapp/ghc,siddhanathan/ghc,shlevy/ghc,gridaphobe/ghc,sdiehl/ghc,ryantm/ghc,gridaphobe/ghc,siddhanathan/ghc,ml9951/ghc,AlexanderPankiv/ghc,da-x/ghc,da-x/ghc,hferreiro/replay,TomMD/ghc,holzensp/ghc,ryantm/ghc,ezyang/ghc,bitemyapp/ghc,oldmanmike/ghc,frantisekfarka/ghc-dsi,acowley/ghc,frantisekfarka/ghc-dsi,forked-upstream-packages-for-ghcjs/ghc,olsner/ghc,ryantm/ghc,ghc-android/ghc,olsner/ghc,holzensp/ghc,elieux/ghc,da-x/ghc,shlevy/ghc,spacekitteh/smcghc,elieux/ghc,gridaphobe/ghc,TomMD/ghc,wxwxwwxxx/ghc,mfine/ghc,tjakway/ghcjvm,nkaretnikov/ghc,christiaanb/ghc,tjakway/ghcjvm,hferreiro/replay,sgillespie/ghc,ilyasergey/GHC-XAppFix,nathyong/microghc-ghc,urbanslug/ghc,christiaanb/ghc,gcampax/ghc,urbanslug/ghc,christiaanb/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,tibbe/ghc,sgillespie/ghc,vikraman/ghc,siddhanathan/ghc,ilyasergey/GHC-XAppFix,mcmaniac/ghc,fmthoma/ghc,acowley/ghc,nathyong/microghc-ghc,nathyong/microghc-ghc,mcschroeder/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,snoyberg/ghc,gridaphobe/ghc,wxwxwwxxx/ghc,nushio3/ghc,christiaanb/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,tjakway/ghcjvm,mettekou/ghc,lukexi/ghc,shlevy/ghc,ml9951/ghc,sdiehl/ghc,shlevy/ghc,gridaphobe/ghc,nushio3/ghc,ml9951/ghc,AlexanderPankiv/ghc,nushio3/ghc,ghc-android/ghc,ekmett/ghc,mfine/ghc,snoyberg/ghc,nomeata/ghc,nushio3/ghc,olsner/ghc,anton-dessiatov/ghc,hferreiro/replay,AlexanderPankiv/ghc,lukexi/ghc-7.8-arm64,TomMD/ghc,TomMD/ghc,mfine/ghc,nathyong/microghc-ghc,lukexi/ghc,ghc-android/ghc,ghc-android/ghc,nushio3/ghc,holzensp/ghc,vikraman/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,frantisekfarka/ghc-dsi,vTurbine/ghc,ezyang/ghc,urbanslug/ghc,acowley/ghc,urbanslug/ghc,gcampax/ghc,oldmanmike/ghc,mcschroeder/ghc,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,holzensp/ghc,hferreiro/replay,fmthoma/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,green-haskell/ghc,shlevy/ghc,lukexi/ghc,vTurbine/ghc,nkaretnikov/ghc,elieux/ghc,anton-dessiatov/ghc,acowley/ghc,lukexi/ghc-7.8-arm64,ghc-android/ghc,gridaphobe/ghc,olsner/ghc,gcampax/ghc,hferreiro/replay,GaloisInc/halvm-ghc,nkaretnikov/ghc,mettekou/ghc,sgillespie/ghc,ml9951/ghc,vikraman/ghc,spacekitteh/smcghc,vikraman/ghc,ml9951/ghc,elieux/ghc,hferreiro/replay,tjakway/ghcjvm,anton-dessiatov/ghc,forked-upstream-packages-for-ghcjs/ghc,snoyberg/ghc,AlexanderPankiv/ghc,mettekou/ghc,wxwxwwxxx/ghc,vTurbine/ghc,gcampax/ghc,mfine/ghc,urbanslug/ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,nomeata/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,elieux/ghc,vikraman/ghc,sgillespie/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi