[GHC] #1473: isSpace is too slow

GHC ghc-devs at haskell.org
Mon Oct 13 20:43:46 UTC 2014


#1473: isSpace is too slow
-------------------------------------+-------------------------------------
              Reporter:  igloo       |            Owner:  ekmett
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:  6.6.1
  Libraries                          |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by dfeuer):

 * cc: core-libraries-committee@… (added)
 * milestone:  ⊥ => 7.10.1


Comment:

 There are some very simple things to do about this, pending a full fix. In
 particular, as Carter noted, just making sure low codepoints never call
 out to C should help a lot. Using an unsigned comparison to check the
 contiguous range should be good too. I think we can probably improve
 things some more once we've figured out what to do about #9661.

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


More information about the ghc-tickets mailing list