#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs