Task #8732
Small improvement of ForViewHelper
Start date:
2010-07-08
Due date:
% Done:
100%
Estimated time:
Has patch:
Description
In the Tx_Fluid_ViewHelpers_ForViewHelper
there's a method convertToArray()
which extracts an array from the traversable object via foreach.
This should be replaced by the function iterator_to_array()
which does basically the same but more performant on huge objects than foreach'ing manually.
Patches for v4 and v5 branch are attached.
Files
Updated by Bastian Waidelich almost 12 years ago
- Status changed from New to Accepted
That's great, I didn't know that function. Thanks!
Updated by Bastian Waidelich almost 12 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r4898.