Re: PHP memory usage

From: Date: Fri, 03 Jan 2003 03:57:28 +0000
Subject: Re: PHP memory usage
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-130042@lists.php.net to get a copy of this message
> 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

« previous php.general (#130042) next »