
#10067: The Read Integer instance is too slow -------------------------------------+------------------------------------- Reporter: redneb | Owner: Type: feature request | Status: patch Priority: high | Milestone: 7.10.1 Component: Core Libraries | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D645 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * priority: low => high * milestone: => 7.10.1 Comment: Uh, my first impression honestly is this has the potential to be really bad - I'd guess most people constrain `Read` to `Int` in cases like this, but I could fathom a case where e.g. a webserver took an integer somewhere in an HTTP request and used `Read`, which could lead to an easy denial of service. I'm fine with shuffling to avoid boot files/cycles and whatnot. Do update the patch please. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10067#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler