[GHC] #14626: No need to enter a scrutinised value
GHC
ghc-devs at haskell.org
Mon Jan 15 14:30:31 UTC 2018
#14626: No need to enter a scrutinised value
-------------------------------------+-------------------------------------
Reporter: heisenbug | Owner: heisenbug
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.2
Resolution: | Keywords: performance
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #13861 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by alexbiehl):
An `STRef` is a wrapper around `MutVar#` which is has `UnliftedRep`
(represented through a pointer, never bottom) thus it doesn't need a tag
to note its evaluatedness. GHC probably only tags value with `LiftedRep`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14626#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list