Regex DNA benchmark

bearophile bearophileHUGS at lycos.com
Sat Dec 1 07:38:22 PST 2007


Jascha Wetzel:

> most regex engines are more general parsers that use backtracking and 
> are slow by design (that includes Perl's and Java's engine, PCRE, and 
> many more). that's why i bothered to implement yet another engine.

I think D needs into its std lib a RE engine as flexible and as fast as Python/Perl/Ruby/etc ones. (They use an "almost" standard syntax, you can do mostly the same things with them. People use the Perl REs every day).
Then later people can add any kind of faster & more specialized RE engines (like your one). Don't you agree? :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list