Improving Data.Char.isSpace performance
Joachim Breitner
mail at joachim-breitner.de
Thu Nov 1 16:10:26 CET 2012
Hi,
Am Donnerstag, den 01.11.2012, 14:24 +0100 schrieb Joachim Breitner:
> have you considered investigating whether the ffi call can be sped up?
> To me it seems to be a bit overheady to first check in Haskell-Land for
> common cases and then call code that would (or does?) this check as
> well.
looking at the interface of GHC.Unicode I see that the special cases are
included in the unfolding of isSpace. This is, of course, something that
that even a faster ffi variant cannot achieve.
Greetings,
Joachim
--
Joachim "nomeata" Breitner
mail at joachim-breitner.de | nomeata at debian.org | GPG: 0x4743206C
xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121101/cd867a2e/attachment.pgp>
More information about the Libraries
mailing list