On Thu, Jul 22, 2010 at 2:40 AM, Ashley Sheridan
wrote:
> The larger a script or class is, the more memory this uses per instance.
>
This is not quite true. When the script is loaded, it requires a fixed
amount of memory to parse it. The larger it is, the more memory it requires.
Next, the script
> No, I don't think there will be problems. I also think the only way
> you'll ever find out whether it *will* be a problem in your system is
> by testing.
I've started some benchmarks with apachebench but the problem is I don't
have any benchmarks to compare with. And so I started looking for
som
[snip]
> So you think that a length of 850 lines won't lead to a performance
> problem?
No, I don't think there will be problems. I also think the only way
you'll ever find out whether it *will* be a problem in your system is
by testing.
[/snip]
^this to the max
[snip]
> The site is not online y
On 22 July 2010 15:49, Sebastian Ewert wrote:
> Peter Lind wrote:
>>
>> It's unlikely to cause you performance problems unless you've got a
>> huge amount of traffic - and then you could probably fix your problems
>> easier than refactoring classes.
>>
>> Personal anecdote: I've worked on classes
Peter Lind wrote:
>
> It's unlikely to cause you performance problems unless you've got a
> huge amount of traffic - and then you could probably fix your problems
> easier than refactoring classes.
>
> Personal anecdote: I've worked on classes longer than 3K lines with no
> marked performance pro
On 22 July 2010 15:27, Sebastian Ewert wrote:
> Jay Blanchard wrote:
>> [snip]
>> Thats exacty the point. In my user class I have functions whitch return
>> object-lists of diffrent users or strings with html-form elements for
>> managing this user account.
>>
>> But if I put all these in a helper
Jay Blanchard wrote:
> [snip]
> Thats exacty the point. In my user class I have functions whitch return
> object-lists of diffrent users or strings with html-form elements for
> managing this user account.
>
> But if I put all these in a helper class I would anyway need to
> implement the user obj
[snip]
Thats exacty the point. In my user class I have functions whitch return
object-lists of diffrent users or strings with html-form elements for
managing this user account.
But if I put all these in a helper class I would anyway need to
implement the user object there, because of the other get
Ashley Sheridan wrote:
> On Thu, 2010-07-22 at 10:49 +0200, 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
On Thu, 2010-07-22 at 10:49 +0200, 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
10 matches
Mail list logo