[TYPO3-core] RFC #13669: Performance: Inefficient fetch of templates from table sys_template

Susanne Moog typo3 at susanne-moog.de
Tue Mar 2 16:42:45 CET 2010


Hi,

Benjamin Mack wrote:
> Hey Alex,
> 
> check out my version, which
>  * adds more comments, to make the process clearer
>  * renamed some variables to make the code easier to understand
>  * using SELECT_getRows to automatically fetch the $subrows array with
> the uid field as keys
>  * checks for already included static templates before making the SQL
> query, thus only fetching the arrays we need
> 
> Apart from that, +1 after reading and testing of course.

+1 reading and testing.

Best regards,

Susanne



More information about the TYPO3-team-core mailing list