Posted by Michael Daly on 03/24/07 20:50
I'm working on a program that permits a web site admin to enable either
or both of its two features. Both features have a reasonable amount of
code.
So - is it likely that someone will complain that having both sets of
code loaded when only one of the features is enabled will reduce
performance? Is there a significant advantage to splitting the code so
that only one feature is loaded to run when only one feature is enabled?
The php file is about 30KB (both features).
Second - I tend to put a lot of comments in my code. In terms of file
size, there is often more lines of comments than lines of code (unless
the code is relatively trivial). Similarly - is someone likely to grump
that loading all that text at run rime is inefficient?
Mike
[Back to original message]
|