Re: Class Design Question...
| From: | Greg Beaver | Date: | Wed, 06 Aug 2003 20:17:08 +0000 |
| Subject: | Re: Class Design Question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158542@lists.php.net to get a copy of this message | ||
Dan Joseph <mailto:djoseph@duhq.us>
This is a loaded question. If you overuse classes, there will be a performance hit :). However, in a 300-400 line script, you might find the performance improve if using OO allows you to elegantly solve the problem. There is no definitive answer. It's like asking if you'll get fat from eating 1500 calories every day for a week. A bit more information is needed :) Greg -- phpDocumentor http://www.phpdoc.orgon Wednesday, August 06, 2003 10:18 AM said:Are there any performance differences that are noticable in a 300-400 line PHP script if you overuse classes rather than straight functions?