in reply to Generate a single "or regex" from given strings
(maybe TL;DR but as a side remark)
Trie optimization is a builtin since Perl 5.10, maybe you should test that too.
Cheers Rolf
( addicted to the Perl Programming Language)
|
---|
In Section
Cool Uses for Perl