[TYPO3-core] RFC: Feature Request 6037: Performance tunning in t3lib_div by removing elderly PHP functions

Michael Stucki michael at typo3.org
Fri Aug 31 13:54:21 CEST 2007


Hi Oliver,

> Furthermore references are a bit faster if working with arrays, e.g.
> $tca =& $GLOBALS['TCA']['tt_content']['columns']['bodytext']
> is faster than using it without reference, e.g.
> $tca = $GLOBALS['TCA']['tt_content']['columns']['bodytext'].
> 
> If found other recources on the web which state that
> "while(list(,$value)=each($array))" would be faster than calling
> "foreach ($array as $value)". But I could not reproduce this with PHP5
> and the profiler of the PEAR extension "Benchmark".
> 
> I've created a new patch. See attachment.

Hmm. Hard to test, but I tried:

http://localhost/quickstart/typo3/index.php

=> redirects me to http://localhost3opyt/tratskciuq//alt_main.php

;-)

Can you please fix that first?

Additionally, I noticed that line 385 of the patch will make the application
fail, so please delete it.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list