isSpace is too slow

Wagner Ferenc wferi at niif.hu
Sun May 27 11:53:29 EDT 2007


Bulat Ziganshin <bulat.ziganshin at gmail.com> writes:

> moreover, if we know platforms where iswpace checks the whole range,
> we can speed up code on these platforms by omitting isspace check

As I see it, glibc does exactly this, see
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/wctype/wcfuncs.c?rev=1.20&content-type=text/x-cvsweb-markup&cvsroot=glibc
-- 
Feri.


More information about the Glasgow-haskell-users mailing list