[TYPO3-Performance] optimizing for loops
Michiel Roos [netcreators]
michiel at netcreators.com
Wed Jul 23 21:45:17 CEST 2008
Michiel Roos [netcreators] schreef:
> Hi all,
>
> I was wondering about the 'var='.$var is faster than "var=$var" issue
> and came accross some optimization articles. One of them stated the
> example below (which I had never thought of). It appears that when using
> for loops the sizeof($arr) is evaluated multiple times.
>
> So I grepped the code of the trunk and found a couple of lines like:
grep -r "for (" * | egrep -v .svn | egrep -v ".js" | egrep -v ".diff" |
egrep -v ".html" > blip.txt
--
Netcreators BV :: creation and innovation
www.netcreators.com
Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/
More information about the TYPO3-Performance
mailing list