> On Friday 03 January 2003 05:54 am, James H. Thompson wrote:
> > We have a good size PHP libary -- about 370KB of source code.
> > Its one class with a multitude of small functions in it.
>
> that's a huge class.  is it feasible to split it into smaller classes that
> do smaller things?

Its splitable to some degree, not clear how much as the functions are used in many 
overlapping
combinations.

I didn't make it clear -- the memory is consumed before the code even executes -- just 
doing the
require_once chews up the memory before any of the class gets used.  I didn't write 
it, but I
scanned through it and didn't see much in the way of data structures (small or large) 
being
allocated.


Jim


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to