[TYPO3-core] RFC: #8515: Speed up tslib_cObj->getTreeList by caching its results
Ingo Renner
ingo at typo3.org
Wed Aug 6 20:46:58 CEST 2008
Steffen Kamper wrote:
> here's my +1 by reading and testing.
thanks Steffen
> one little thing i would prefer:
>
> foreach($rootlineIds·as·$rootlineId)·{
> //·delete·the·rootline,·must·contain
> $GLOBALS['TYPO3_DB']->exec_DELETEquery(
> 'cache_treelist',
> 'pid·=·'·.·$rootlineId
> );
> }
>
> why not imploding the IDs and make one delete call?
right, will take care of it before committing. thanks for the hint!
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
More information about the TYPO3-team-core
mailing list