[TYPO3-mvc] findOneBy memory usage

Oliver Klee typo3-german-02 at oliverklee.de
Wed Jul 18 14:08:13 CEST 2012


Hi,

Am 18.07.2012 12:42, schrieb Saverio Vigni:
> registerObject stores the object twice:
> 
> $this->objectMap[$object] = $uuid;
> $this->uuidMap[get_class($object)][$uuid] = $object;

These are only references to the object (since PHP 5). The object still
resides in memory only once.


Oli
-- 
Certified TYPO3 Integrator | TYPO3 Security Team Member


More information about the TYPO3-project-typo3v4mvc mailing list