performance: pcre vs perl regex

G

gmlvsk2

Does anybody know difference in performance if
1) I use C with pcre library
2) I use perl

For the same regular expressions looped many times, with remembering
values in parentesis
would 1 be sevaral times faster
or vice verse

Thanks
 
A

anno4000

Does anybody know difference in performance if
1) I use C with pcre library
2) I use perl

For the same regular expressions looped many times, with remembering
values in parentesis
would 1 be sevaral times faster
or vice verse

Only benchmarks on specific machines can answer that. I doubt
anyone is going to run them for you.

Anno
 
J

John Bokma

Does anybody know difference in performance if
1) I use C with pcre library
2) I use perl

For the same regular expressions looped many times, with remembering
values in parentesis
would 1 be sevaral times faster
or vice verse

Benchmark your code, since that will give you *the* answer for your
environment. Otherwise, provide code we can benchmark on our system (not
promising "we" do though).
 
B

Ben Morrow

Quoth (e-mail address removed):
Thus spoke (e-mail address removed) (on 2006-11-15 22:36):


3) use TCL


(my) rule of thumb: If it contains alterations,
TCL will win, Perl comes last

Have you tried this with the new trie optimizations in bleadperl? I
would be (very slightly) interested to know if they make a difference.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top