#51283Use array access instead of traversing hook array
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.