Issue Task Closed

#55372Remove useless count function calls in stdWrap

Tim Lochmüller 01/27/14, 20:17 updated 10/02/18, 12:07

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

Reviews 1