diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-12-31 16:46:51 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-12-31 16:46:51 +0000 |
commit | 479b0241032c8b02999e0852f63d57fe3584edf9 (patch) | |
tree | cee0ac0d1767f403a8fb7906be77cad5fe4c0366 /compiler/codeGen/CgExtCode.hs | |
parent | 5178da7f966c810c3d64fee02c1161406f9ac1d2 (diff) | |
download | haskell-479b0241032c8b02999e0852f63d57fe3584edf9.tar.gz |
Rolling back: Make FastString thread-safe.
This patch was the cause of the compile-time performance regression in
#3796. My guess is that it is due to the use of unsafePerformIO which
traverses the stack up to the first update frame, and perhaps we have
a deep stack when reading the dictionary from a .hi file. In any
case, since we're not relying on thread safety for FastStrings, I
think the safest thing to do is back this out until we can investigate
further.
Diffstat (limited to 'compiler/codeGen/CgExtCode.hs')
0 files changed, 0 insertions, 0 deletions