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

Michael Stucki michael at typo3.org
Sat Feb 18 12:42:06 CET 2006


I got two +1 for that change, but think I should wait for Kaspers ok. Hope
he finds some time to look at it (patch is attached again).

- michael

Michael Stucki wrote:

> This is a CVS patch request.
> 
> This is kindof experimental, but it seems to work very well for me:
> 
> During Zap-the-Gremlins, Sebastian and I played a little bit with the
> matching-function.
> While debugging some stuff, we found out that it is executed twice
> although that would not be needed.
> 
> So we started to fix it, made a lot of tests and speedup-checks to see how
> it works.
> 
> Result:
> - There were no differences in our pages compared to the old version.
> - Independent if a page is cached or not, the speed-gain was approximately
> 40ms which was approximately 20% of the generation time for a cached page.
> 
> 
> I am not sure it this justifies such a change. The problem is that I can't
> guarantee that it is free of bugs, but maybe the only way to find it out
> will be to test it...?
> 
> Regars, michael

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: matchcondition_speedup.diff
Type: text/x-diff
Size: 4519 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060218/eb453693/attachment.bin 


More information about the TYPO3-team-core mailing list