D 1.0: std.regexp incredibly slow!
Markus Dangl
danglm at in.tum.de
Tue Sep 22 14:21:16 PDT 2009
Jeremie Pelletier schrieb:
> You could write your own bindings to PCRE and use that, since its what
> PHP uses. Maybe someone on dsource already did it too.
Thank you for the tip, i found some bindings at:
http://svn.dsource.org/projects/dwin/trunk/text/pcre/
I'll have a look at them later. At the moment i wrote a custom
workaround for the problematic regexp. (Doing std.string.split before
the regexp can help in the presented case...).
Anyways the implementation in Phobos is questionable.
More information about the Digitalmars-d
mailing list