fulvio_esposito wrote:
> I've got some performance hit using regex in libc on freebsd 6.3
Knowing that this regex implementation uses an NFA algorithm, while
a DFA algorithm should be preferred, this is no big surprise. You can
read the following references on the subject:
http://swtch.com/~rsc/
[EMAIL PROTECTED] wrote:
> Hi all,
> I've got some performance hit using regex in libc on freebsd 6.3. I've
> done some test whit the patterns that l7-filter [http://l7-filter.sf.net] use
> to recognize level 7 internet protocol. For example, with the skypeout
> pattern,
> regexec() takes more
Hi all,
I've got some performance hit using regex in libc on freebsd 6.3. I've
done some test whit the patterns that l7-filter [http://l7-filter.sf.net] use
to recognize level 7 internet protocol. For example, with the skypeout pattern,
regexec() takes more tha 0.1 sec to do its work. Is this a