in reply to Efficient regex matching with qr//; Can I do better?
If it's worthwhile to take the regexp compiling outside of the inner while, it's probably worthwhile to take the split out too.
If we knew what you were doing, including having a idea what the patterns are, we might be able to provide a better algorithm.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Efficient regex matching with qr//; Can I do better?
by ysth (Canon) on Jul 11, 2008 at 06:07 UTC | |
by ikegami (Patriarch) on Jul 11, 2008 at 06:15 UTC |