Re: Perl5Util threadsafe for group() method?

2006-03-29 Thread Daniel F. Savarese
In message <[EMAIL PROTECTED]>, "Duke Tantiprasut" writes: >Is there any plans to make getMatch() and group() threadsafe? They are thread-safe. Concurrent calls to multiple methods will not leave the object in an inconsistent state. What I think you're asking is for the results to be thread-lo

Re: Perl5Util threadsafe for group() method?

2006-03-29 Thread Duke Tantiprasut
Both will actually be the same for me. I just use the Perl5Util and dont explicitly create matchers. The first option sounds like an easier way to go as well as being easy for most people to understand. On 3/29/06, Daniel F. Savarese <[EMAIL PROTECTED]> wrote: > > > In message <[EMAIL PROTECTED]>,

Perl5Util performance

2006-03-29 Thread Duke Tantiprasut
Hi All, Below is an interesting benchmark result comparing a number of regex engines. http://tusker.org/regex/regex_benchmark.html I'm curious why there is such a significant jump from the Perl5Matcher compared to the java.util.regex? The DFA based engines such as JREXX look really fast but I'm

Re: Perl5Util performance

2006-03-29 Thread Daniel F. Savarese
In message <[EMAIL PROTECTED]>, "Duke Tantiprasut" writes: >I'm curious why there is such a significant jump from the Perl5Matcher >compared to the java.util.regex? A hefty chunk of that time comes from converting strings to char[] before matching. I've tuned that benchmark before and trimmed 2