[darcs-users] Regular Expression libraries and linker errors

Trent W. Buck twb at cybersource.com.au
Tue Oct 6 01:25:28 UTC 2009

Ben Franksen <benjamin.franksen at bessy.de> writes:

> Jason Dagit wrote:
>> It's possible that regex-pcre gives better performance than regex-posix
> I made some tests using the new criterion package (excellent for stuff
> like that) and found regex-pcre to be faster by a factor of 3 to 9,
> depending on regex and test string. I did not test it with darcs, but
> I took some random regexes from the standard boring file and a random
> file with a long path.

Does the default ERE matcher use the OS's regexp implementation, or is
it purely done in Haskell?  In the former case, the OS and OS version
might be significant -- e.g. AIX 4 might have much slower EREs than a
recent GNU/Linux.

More information about the darcs-users mailing list