
#14254: The Binary instance for TypeRep smells a bit expensive -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Typeable Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3998 Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): We could, perhaps, consider a representation like I describe in comment:1:ticket:14263 for `TypeRep` to avoid these performance problems. Doing so would, at the least, be a nice stress test for `TypeInType`. :) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14254#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler