[TYPO3-core] RFC: Avoid double checking of match-conditions

Michael Stucki michael at typo3.org
Sat Feb 18 12:40:17 CET 2006


Hi Franz,

>> sort($this->all);
> 
> This should be left here. It makes sense to have them in good order in
> the loops. Doesn't it?

No, because that would change the md5sum of the array. Will not change that.

> You can enhance this by passing the big arrays only as references:
> 
> function &matching($cc)
> ...
> return &$cc;

Sorry, won't change because it could add some trouble. I know that the
current version works, you can make this change at a later step if you
tested 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