Re: Is a small memory footprint better for a php script?

From: Date: Fri, 31 Aug 2007 21:39:27 +0000
Subject: Re: Is a small memory footprint better for a php script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-261571@lists.php.net to get a copy of this message
On Fri, 2007-08-31 at 23:06 +0200, Mark wrote: > > The question now is: what is better? a script with a small memory > usage? or is that something i don't need to look at? It depends... do you find the following script better? Better than what? It definitely has a small memory footpring: <?php echo 'Brought to you by the ridiculous question department.'; ?> > And when is memory usage gonna be a issue? is that when you have ALOT > of simultaneous users? (lets say 100 all the time.. not that i have > that.. but just for the idea). Let's see... (100 * 2) = 200 megs. My desktop computer... (2048 - 200) = 1848. I'm not seeing an issue... A greater problem is going to be database/filesystem bottlenecks, or possible poorly written scripts that suck the life out of your processor(s)/core(s). Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ...........................................................

« previous php.general (#261571) next »