Re: Program effeciency due to comments..
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: Fri, 24 Oct 2003 19:51:21 +0200
phud <firstname.lastname@example.org> wrote:
> Let's say you have a shell script which all in all is 10000 lines, and
> of those, 2000 lines are comments.
> Anyone got any idea?
Yep, you strip of the comments and try it out:
$ time script_com
$ time script_uncom
You need to run both a few times, depending on how clever your OS
caches the file, there should be a difference, between the first
and the later runs.
Later you show us what happened.
-- Michael Heiming Remove +SIGNS and www. if you expect an answer, sorry for inconvenience, but I get tons of SPAM