re.search much slower then grep on some regular expressions
mdw at distorted.org.uk
Sun Jul 6 23:36:36 CEST 2008
Sebastian "lunar" Wiesner <basti.wiesner at gmx.net> wrote:
> # perl -e '("a" x 100000) =~ /^(ab?)*$/;'
> zsh: segmentation fault perl -e '("a" x 100000) =~ /^(ab?)*$/;'
(Did you really run that as root?)
> It'd be interesting to know, how CL-PPCRE performs here (I don't know this
Stack overflow condition. :-(
More information about the Python-list