[GHC] #1473: isSpace is too slow
GHC
trac at galois.com
Fri Dec 25 16:23:15 EST 2009
#1473: isSpace is too slow
-----------------------------+----------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: libraries/base | Version: 6.6.1
Resolution: | Keywords:
Difficulty: Unknown | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
-----------------------------+----------------------------------------------
Changes (by guest):
* failure: => None/Unknown
Comment:
Improving isSpace is going to be difficult. I've done some Criterion
benchmarking of the suggested optimizations, and for most of them, the
benefit is modest. This may reflect improved optimization in GHC 6.10.2.
However, there is a small improvement in `gspace'` and `gspace'''` as
compared to `gspace`, so that might be worth doing?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1473#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list