[TYPO3-core] RFC: #13670: Performance optimization: change while(list() to foreach()

Georg Ringer mail at ringerge.org
Fri Feb 26 00:41:53 CET 2010


Hi,

This is an SVN patch request.

Type: Bugfix, Performance tuning

Bugtracker references:
http://bugs.typo3.org/view.php?id=13670

Branches: trunk, 4.3

Problem:
foreach($arr as $key=>$value) is faster than while (list($key,
$value)=each($arr)) so it should be changed

Solution:
change it

Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13670-whilelist-foreach.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100226/6fc9e3be/attachment.asc>


More information about the TYPO3-team-core mailing list