how to be faster than perl?

David Medlock noone at
Thu Feb 1 07:18:05 PST 2007

Dejan Lekic wrote:
> Mr. Medlock,
> D will compile regexp too. Mr. Bommel has already explained that in one of his replies...
> Kind regards
> Dejan
I know that.

I was talking about recompiling each time through the loop.

In python you would say:

pat = re.compile( "horizontal" )

then use pat within your loop.


More information about the Digitalmars-d-learn mailing list