[GHC] #8158: Replace IO manager's IntMap with a mutable hash table
GHC
ghc-devs at haskell.org
Sat Aug 24 06:54:20 UTC 2013
#8158: Replace IO manager's IntMap with a mutable hash table
-------------------------------+-------------------------------------------
Reporter: bos | Owner:
Type: feature | Status: patch
request | Milestone: 7.8.1
Priority: normal | Version: 7.7
Component: | Keywords:
libraries/base | Architecture: Unknown/Multiple
Resolution: | Difficulty: Easy (less than 1 hour)
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: Other |
Test Case: |
Blocking: |
-------------------------------+-------------------------------------------
Comment (by simonmar):
@bos: GHC has a `FastMutInt` type for this purpose, which is a 1-element
mutable unboxed array. I'd be interested to know whether performance
differs between this and `ForeignPtr`.
source:ghc/compiler/utils/FastMutInt.lhs
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8158#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list