]> granicus.if.org Git - apache/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)
commit7439a429d600ccc0c0248f433a088db2d24dc023
tree499a9e002f9a7e7d2e6cd77ca8592b3a9ec75c75
parentc558110372c781ba5472cb3f4307a10f125acde9
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