Actions
Task #51283
closedUse array access instead of traversing hook array
Start date:
2013-08-23
Due date:
% Done:
100%
Estimated time:
2.00 h
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Sprint Focus:
Description
In "TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer" in method "cObjGetSingle" the array of hook objects is traversed to look for a hook object for the currently rendered cObject. This is not fast.
Instead check if there is a hook object for the current cObject defined by making an array access.
Patch attached.
Files
Actions