in reply to Re^5: Efficient regex matching with qr//; Can I do better?
in thread Efficient regex matching with qr//; Can I do better?

Try it and see?

each() is more memory-efficient, but you aren't talking about millions of hash entries, so that's not likely to be a concern.

  • Comment on Re^6: Efficient regex matching with qr//; Can I do better?