[TYPO3-core] RFC: #8515: Speed up tslib_cObj->getTreeList by caching its results
Steffen Kamper
info at sk-typo3.de
Wed Aug 6 20:34:46 CEST 2008
Hi,
here's my +1 by reading and testing.
As my local setup doesn't have huge pagetree my tests/measering may be
not as significant, i had performance optimized by 1%-10% depending on
the actions.
Most speed was with indexed_search with ~50 indexed pages.
I did some page copies / moves and all was ok.
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?
vg Steffen
More information about the TYPO3-team-core
mailing list