APM: Regular Expression Question
tmcd at panix.com
tmcd at panix.com
Wed Aug 16 16:02:13 PDT 2006
On Wed, 16 Aug 2006, Wayne Walker <wwalker at bybent.com> wrote:
> The split/join is probably fastest.
In many cases, the speed or memory footprint of a script doesn't
matter -- it depends on the execution time and how often it's run.
I think it's best, in general, to get the version that's easiest to
understand and to change, and worry about optimization only if it's
clear that it will suck down, or is sucking down, a significant amount
of the system resources. And, often enough, the solution that's
easiest to understand and change is close enough to the solution
that's fastest.
print("Just Another Pint-Sized Polonius ...\n");
--
Tim McDaniel; Reply-To: tmcd at panix.com
More information about the Austin
mailing list