[TYPO3-core] RFC #11581: Small speed improvement in class.t3lib_tstemplate.php
Christian Kuhn
lolli at schwarzbu.ch
Fri Jul 31 14:18:15 CEST 2009
* Committed to trunk rev. 5742 after my additional +1 on reading and
testing.
Final patch attached.
Thanks!
Christian
Dan Osipov wrote:
> This is an SVN patch request.
>
> Type: Feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11581
>
> Branch: Trunk
>
> In function splitConfArray, the passed array is transversed twice, once
> to pickout all elements that are arrays, and the second time to pickout
> all non array elements. This is not the most efficient way.
>
> Solution:
> A better solution is to transverse the array just once, and do
> everything in one loop.
>
More information about the TYPO3-team-core
mailing list