]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Expression parser: Optimize another concatenation
authorRainer Jung <rjung@apache.org>
Thu, 5 Feb 2015 20:33:59 +0000 (20:33 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 5 Feb 2015 20:33:59 +0000 (20:33 +0000)
commit73c40a0ae7255c6b68242694f23e4538f01e2a01
tree499a9e002f9a7e7d2e6cd77ca8592b3a9ec75c75
parentc26c2756f5f887da38f17fd388bc39da314a21fd
Expression parser: Optimize another concatenation
case by using iteration instead of recursion.

We have a relatively small recursion limit of
about 10 operations. This is a compilation
limit (a define). It can be hit if many expr
vars or function calls are concatenated.

The new optimization is very similar to the
existing one, which optimizes consecutive
concatenations in node2 of the tree. The new
one optimizes consecutive concatenations in
node 1.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1657685 13f79535-47bb-0310-9956-ffa450edef68
server/util_expr_eval.c