in reply to Help on decide when study
The Owls book (1st Edition: Mastering Regular Expressions) says:
Study is most useful when you are matching a large string many times and your regular expressions contain literal text that must be found within the string.
Study is also known to contain bugs in older versions of Perl, so use with caution.
The best advice I can give a novice is to ignore study and look for other ways to optimize your code. If you can't find any design solution that is fast enough for your needs, then try invoking study and benchmark to see if it helps or not. But in general, don't expect a miracle.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help on decide when study
by monsieur_champs (Curate) on Nov 13, 2003 at 19:23 UTC | |
by davido (Cardinal) on Nov 13, 2003 at 19:35 UTC | |
by vacant (Pilgrim) on Nov 13, 2003 at 23:06 UTC |