Re: Does class length slow down performance
| From: | Nathan Rixham | Date: | Sat, 24 Jul 2010 12:57:38 +0000 |
| Subject: | Re: Does class length slow down performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307129@lists.php.net to get a copy of this message | ||
Sebastian Ewert wrote:
Hi, I'm developing an joomla component and my helper an user classes are crowing bigger and bigger. The helper class is for static use only. Does class size decrease performance of my php scripts, even for static usage? Is there a general rule when to split a class to keep performance up?If you think about it, each class, function, method, line of code all gets interpreted in to opcodes and executed - so, no matter how you split it up, it's still going to produce roughly equivalent opcodes. Thus, no.