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

Alexander Weggerle Alexander at Weggerle.de
Fri Feb 26 13:06:56 CET 2010


Hi Benni,

Looks pretty good. Thanks for your very useful corrections.

All the best,
Alex

Benjamin Mack schrieb:
> 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.
> 
> All the best,
> Benni.
> 


More information about the TYPO3-team-core mailing list