[TYPO3-core] RFC #11581: Small speed improvement in class.t3lib_tstemplate.php
Dan Osipov
dosipov at phillyburbs.com
Fri Jul 31 15:36:46 CEST 2009
Thanks!
Dan Osipov
Calkins Media
http://danosipov.com/blog/
Christian Kuhn wrote:
>
> * 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