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. Although for the example and the full benchmark, the case sensitivity seems to be irrelevant, I've modified it to strip add the :i and striped out the p5 rules. It also does take a fair chunk of memory. Also, reading in the benchmark full data file takes a while doing it line by line, 83337 lines.

Attachment: regexdna.pir
Description: Binary data



Reply via email to