develooper Front page | perl.perl5.porters | Postings from March 2007

$& in diagnostics.pm

Thread Next
From:
Andy Lester
Date:
March 15, 2007 09:22
Subject:
$& in diagnostics.pm
Message ID:
BC1B4AA4-9559-461F-95D5-A30C086B8800@petdance.com

Surprising problem of the day: We set up our test bot to run with - 
Mdiagnostics, and performance went in the toilet, and some of our  
tests that make sure indexing happens within a reasonable amount of  
time actually failed.

Why?  because diagnostics.pm uses $& and $', which makes all our  
regex-based code go sloooow, especially KinoSearch.

Anyone feel like modifying diagnostics.pm to remove those?  It seems  
like the Right Thing To Do.  Otherwise, I will and submit a patch  
tomorrow or next week.

--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance





Thread Next


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