[plt-scheme] Checking if strings are only whitespace

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Mar 21 09:19:39 EST 2006

At Mon, 20 Mar 2006 20:24:58 -0800, "Jim Blandy" wrote:
> What's the reason for the differences?  Is pregexp implemented in
> Scheme, whereas the others are consulting some off-the-shelf C regexp
> library?

That's likely one reason (although the JIT speeds up `pregexp' on the
whitespace example by a factor of 10).

I don't know enough about the `pregexp' algorithm to know how it
compares to the built-in one, which is Spencer's implementation.

Matthew



Posted on the users mailing list.