[GHC] #11382: Optimize Data.Char

GHC ghc-devs at haskell.org
Fri Jan 8 13:49:09 UTC 2016


#11382: Optimize Data.Char
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.2.1
          Component:  Core           |           Version:  7.10.3
  Libraries                          |
           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:
-------------------------------------+-------------------------------------
 Many of the predicates in `Data.Char` do full Unicode category lookups
 which turns out to be quite expensive. Ideally we would handle some of the
 more common ASCII characters with cheaper tests before falling back to the
 full Unicode treatment.

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


More information about the ghc-tickets mailing list