pimcore/pimcore — pull request #38 by lightninggk (2012-09-26 15:14:40+00:00)
Title: Memory hungy loops in Extensionmanager.php

Fix for decreasing performance and memory spikes when multiple area blocks are used in view template. Some profiling using XHProf showed that regenerating the same Zend_Config_Xml file for area blocks in a loop whenever a view uses multiple area blocks is quite an expensive exercise. Storing brick directories and brick configs in Zend_Registry scales much better for us, especially when the number of available blocks in your views/areas directory increases and more area.xml files are parsed into Zend_Config objects.