[GHC] #9805: Use TrieMaps to speed up type class instance lookup
GHC
ghc-devs at haskell.org
Sun Jan 4 06:30:41 UTC 2015
#9805: Use TrieMaps to speed up type class instance lookup
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: ezyang
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 7.9
checker) | Keywords:
Resolution: | Architecture:
Operating System: Unknown/Multiple | Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by ezyang):
Simon, here is my proposal: we make a new type class TrieKeyMap whose
parent is TrieMap and defines just the new foldWithKeyTM method. Most data
types will be instances of both, but not, for example, UniqFM.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9805#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list