You are here: Two related "performance" questions « PHP Language « IT news, forums, messages
Two related "performance" questions

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация