[fpc-pascal] Which regex unit to use?
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Feb 26 14:01:45 CET 2010
Has anybody done a speed test between these two, to see how they perform
with large test files?
> * <fpcsrc>/packages/regexpr/src/regexp.pp
vs
> * <lazarus>/components/synedit/synregexpr.pas
> * TRegExpr (no idea what is latest and if FPC compatible)
>From the following link it sounds like TRegExpr is dog slow - even the
original author said so (referring that it was only meant for small lines
of text).
http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=TRegExpr%20Considered%20Harmful
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list