Project

General

Profile

Actions

Task #55372

closed

Remove useless count function calls in stdWrap

Added by Tim Lochmüller almost 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2014-01-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Remove thousands uselesse count function calls in the stdWrap. stdWrap is often used and the count calls are not needed at all.

The first is always a array so we don't check it in front of the foreach.
And the second one just check if it empty, but we don't have to count the whole array.

Regards,
Tim


Files

Actions

Also available in: Atom PDF