Project

General

Profile

Actions

Bug #20782

closed

Small speed improvement in class.t3lib_tstemplate.php

Added by Dan Osipov over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-07-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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.

A better solution is to transverse the array just once, and do everything in one loop.

(issue imported from #M11581)


Files

tstemplate.diff (690 Bytes) tstemplate.diff Administrator Admin, 2009-07-24 19:21
Actions

Also available in: Atom PDF