in reply to Re^4: Efficient regex matching with qr//; Can I do better? (Benchmark)
in thread Efficient regex matching with qr//; Can I do better?

Unfortunately, there's a limit to how much data can appear in alterations and still be optimized into a trie in 5.10.0. I think you are within that limit, but kruppy will not be. Try your benchmark again with 10000 strings.
  • Comment on Re^5: Efficient regex matching with qr//; Can I do better? (Benchmark)

Replies are listed 'Best First'.
Re^6: Efficient regex matching with qr//; Can I do better? (Benchmark)
by tilly (Archbishop) on Jul 12, 2008 at 00:40 UTC
    Well if it doesn't do it automatically, you can ask it to do it explicitly. The code I wrote for RE (tilly) 4: SAS log scanner should still work in Perl 5.10.