diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2021-11-26 16:02:02 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-01-27 17:31:31 -0500 |
commit | 697e569ffe6588e83e59f23437c3d5a25aac25fa (patch) | |
tree | 6a02bc6b16873cd428162421b91e90545f5343f2 /compiler/GHC/Hs/Decls.hs | |
parent | 7f10686e61e49c89baf45df92eb24ad3504492f7 (diff) | |
download | haskell-wip/T20746.tar.gz |
Improve boxity in deferAfterPreciseExceptionwip/T20746
As #20746 showed, the demand analyser behaved badly in a key I/O
library (`GHC.IO.Handle.Text`), by unnessarily boxing and reboxing.
This patch adjusts the subtle function deferAfterPreciseException;
it's quite easy, just a bit subtle.
See the new Note [deferAfterPreciseException]
And this MR deals only with Problem 2 in #20746.
Problem 1 is still open.
Diffstat (limited to 'compiler/GHC/Hs/Decls.hs')
0 files changed, 0 insertions, 0 deletions