Don't desugar large lists with build
When looking at T9661
I noticed that a massive list was being inlined into listArray
, where foldr/build was being applied, turning a bunch of massive static data into a massive block of code.
It seems likely that keeping this as static data would be preferable here.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |