On Thu, Dec 15, 2005 at 11:15:20PM -0600, Joshua Isom wrote:
> I noticed a slight glitch with the regex-dna benchmark.  The benchmark 
> spec says to account for case insensitivity.  So I added the :i 
> modifier to the patterns and just stuck to the p6 rules.  But using the 
> :i modifier makes it take over three times as long.  

I'm not too surprised that :i slows things down -- afaik Parrot
doesn't have a case-insensitive string compare, so PGE downcases
the strings for comparison.  It's currently doing this at each
comparison; it would probably be quicker to just make a copy of the
downcased string and use that for comparison.  

Pm

Reply via email to