pcre for stk is available

From: Brian Denheyer <briand_at_deldotd.com>
Date: Thu, 25 Feb 1999 00:37:21 -0800 (PST)



to obtain the package.

I only have a Linux system to test it on, so other OS'es may require
tweaks to the compilation and linking options to get the shared
library working. Also be aware that I am using 3.99.4.

The pcre options are supported as an optional argument during regular
expression compilation. The locale stuff is NOT included at run time,
yet... Sorry Erick.

I think I would also like to add some "convenience" functions to
access the group strings, a perl-like "$1" functionality.

Further testing shows that the packages are closer than I previously
thought, with pcre almost always slightly faster than the current
regexp package.

Well, I couldn't resist so I put the same benchmark program in perl
and it ran 2x faster than the stk version :-(. Then again, there are
lies, damn lies and benchmarks.

I also remember why I don't use perl :-)

Still I was surprised. It seems to me that there shouldn't be that
much overhead in the scheme version. Maybe the perl regexp package
that much faster ?

Brian Denheyer             briand_at_deldotd.com
Deldot Design, Inc.        (503) 788-1607
\/.d = Electronic design and development
Received on Thu Feb 25 1999 - 09:38:29 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST