[GHC] #8158: Replace IO manager's IntMap with a mutable hash table
GHC
ghc-devs at haskell.org
Fri Aug 23 16:55:28 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 bos):
The !ForeignPtr avoids additional boxing, as hvr observes. The atomic ops
stuff that he points at does the same thing behind the scenes, except
using a !MutableByteArray#.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8158#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list