in reply to Re^3: Impact of special variables on regex match performance
in thread Impact of special variables on regex match performance
Concerning your code: given that sub uncomment_one is never explicitly called in what you posted, you may have over-reached in your diligence to follow the guidance ( not exactly "rules ) of this forum.I put that code in a sub on purpose. The performance impact is triggered by the mere presence of those variables in the code, not their actual use as part of the execution of the script. And so there is no need to imagine a situation where those variables would be actually needed, only one where you'd need to load a module that contains those variables in a sub your code doesn't actually call.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Impact of special variables on regex match performance
by ww (Archbishop) on Dec 10, 2010 at 03:21 UTC | |
by roubi (Hermit) on Dec 10, 2010 at 04:12 UTC |