in reply to Re^2: Regex: Matching around a word(s)
in thread Regex: Matching around a word(s)
This is due to two reasons. First of all, the efficiency difference will probably not be noticable unless benchmarked. The modules might even be more efficient than your regex stuff. Second, your time is worth more than the computer's time, as is the time of the maintenance programmer (you, or some other guy) that will come after you, in a few weeks/months time. This has value that can be later invested in beefier hardware. Unless the performance of the code is a problem (more over - a measurable problem), don't worry about it.
This is just an opinion though, grain of salt, 2 cents, and all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Regex: Matching around a word(s)
by shotgunefx (Parson) on Dec 18, 2005 at 00:14 UTC | |
|
Re^4: Regex: Matching around a word(s)
by BrowserUk (Patriarch) on Dec 17, 2005 at 20:10 UTC | |
by nothingmuch (Priest) on Dec 18, 2005 at 00:14 UTC |