Regex DNA benchmark

Jascha Wetzel firstname at mainia.de
Sat Dec 1 08:27:51 PST 2007


bearophile wrote:
> 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? :-)

i don't know what exactly most people need. i'm just pretty sure they 
need a faster implementation than the current one. std.regexp also lacks 
a few fundamental features (like non-greedy matching).
syntax-wise i certainly agree, that one should stick to either the unix 
or perl syntax.
i don't propagate my implementation as a replacement for std.regexp, i 
just wanted to mention it for people who need fast regexps with most 
standard features.



More information about the Digitalmars-d mailing list