Re: [pcre-dev] optimizing matches for large strings

Αρχική Σελίδα
Delete this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: jcd
Υ/ο: pcre-dev
Αντικείμενο: Re: [pcre-dev] optimizing matches for large strings
On Sat, 12 Feb 2011, jcd wrote:

>
> >If, as your comment suggests, you really know exactly what's in your
> >string, what are you using PCRE to try to find? Perhaps there's another
> >way of solving the problem.
>
> Wouldn't DFA be using less stack in this case?


Yes. DFA doesn't have the same stack issues. If the user doesn't need
capturing, that is perhaps the easiest solution.

Philip

--
Philip Hazel