[Typo3-dev] TYPO3 3.7.0 memory usage ?

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Fri Sep 17 11:59:11 CEST 2004


Michael Johnston wrote:
>pre-setting loop  boundaries

You mean:

$n = count($arr);
for ($i; $i<$n; $i++) ;

instead of

for ($i; $i<count($arr); $i++) ;

?

Seems to be common wisdom to avoid the latter.

Anyway, mindless optimization will get you nowhere. I fear that some key 
parts need optimization and that scares me.

Eg caching the copied ext_tables.php together is nice, but even faster 
whould have been a serialized and cached TCA. But (!) I fear this is 
impossible, because arbitrary code may lie raound in ext_tables.php 
there is this "dynamic" configuration thingy.

Masi




More information about the TYPO3-dev mailing list