
#10137: Rewrite switch code generation -------------------------------------+------------------------------------- Reporter: nomeata | Owner: nomeata Type: task | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.9 (CodeGen) | Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9157, #8326, | Differential Rev(s): #8317, #9159 | Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): I don’t plan to look into this now, but whoever touches this code next and feels like improving the heuristics that decide whether to do a table or a binary search, see [ticket:9159#comment:5] for what the Java compiler does. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10137#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler