[GHC] #12665: Make Read instances faster, and make them fail fast

GHC ghc-devs at haskell.org
Wed Oct 5 21:12:45 UTC 2016


#12665: Make Read instances faster, and make them fail fast
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  dfeuer
            Type:  feature request   |               Status:  new
        Priority:  high              |            Milestone:  8.2.1
       Component:  Core Libraries    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:7 int-e]:
 >     `chunkSize = 7 -- b^chunkSize must fit into an Int`

 Surely we should set the chunk size based on the actual word size, rather
 than assuming every machine is 32-bit or whatever.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12665#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list