]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
since our parse tree is left-weighted, the short circuit evaluation
authorAndré Malo <nd@apache.org>
Tue, 26 Aug 2003 00:32:03 +0000 (00:32 +0000)
committerAndré Malo <nd@apache.org>
Tue, 26 Aug 2003 00:32:03 +0000 (00:32 +0000)
commit1830a08c2f97365c0f45c73a0fda4a33a74afb21
tree146f85f2245c562ba08bdacd6d3e4fbaba17ce9e
parent36b9b1b8607f8e20639a96ce5ce177b83ec0f513
since our parse tree is left-weighted, the short circuit evaluation
is way more useful if we short circuit the left side. So evaluate
the right side first. This, however, reverses my statement about
regex optimization (you have to put them onto the right side of an
&& or || operator to get a chance that the left side will be cutted).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101105 13f79535-47bb-0310-9956-ffa450edef68
modules/filters/mod_include.c