[Typo3-dev] decrease memory usage
Martin Kutschker
Martin.T.Kutschker at blackbox.net
Sat Sep 6 10:30:42 CEST 2003
From: René Fritz <r.fritz at colorcube.de>
Date: Fri, 5 Sep 2003 16:32:33 +0200
> Are there special things a PHP programmer can do to decrease memory
> usage of scripts?
Try avoiding copies of objects, use references whenever possible.
It might help to use unset() either to destroy objects or to break the "binding" via a reference.
But I am not a PHP guru. Coming from C the above ideas just sound natural to me ;-)
Masi
More information about the TYPO3-dev
mailing list