develooper Front page | perl.perl5.porters | Postings from May 2012

Re: [perl #58280] Speed lost on /^(foo|bar|baz)$/ match

Thread Previous
From:
Dave Mitchell
Date:
May 2, 2012 03:44
Subject:
Re: [perl #58280] Speed lost on /^(foo|bar|baz)$/ match
Message ID:
20120502104412.GB3008@iabyn.com
On Tue, May 01, 2012 at 06:22:00PM -0700, James E Keenan via RT wrote:
> On Tue Jul 07 19:34:55 2009, schwern wrote:
> > FWIW it got worse.  perl5.10.1 here is the latest maint5.10.
> FWIW, here are some comparisons:
[snip]
> It appears that things improved on both OSes between 5.12 and 5.14.
> 
> Does this ticket have to remain open?

It shows that things have got better, but still not as good as under
5.8.x. I think it would be worth doing some profiling to see if there's
anything further that can be tweaked, or whether its just the inevitable
slowdown due to improved utf8 handling, trie code etc etc.

In the meantime I suggest keeping the ticket open.

-- 
Music lesson: a symbiotic relationship whereby a pupil's embellishments
concerning the amount of practice performed since the last lesson are
rewarded with embellishments from the teacher concerning the pupil's
progress over the corresponding period.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About