]> granicus.if.org Git - apache/commit
Performance fix for ap_ssi_get_tag_and_value: do a lightweight
authorBrian Pane <brianp@apache.org>
Sun, 17 Mar 2002 17:35:39 +0000 (17:35 +0000)
committerBrian Pane <brianp@apache.org>
Sun, 17 Mar 2002 17:35:39 +0000 (17:35 +0000)
commitc6f154af33fd9f113447f28dbb34a222561fcf87
treea7d1a17c2a374291150155d39f506f6da7cf64ae
parent05ae021cfde877591f4a80e374c40b10a1e1a78b
Performance fix for ap_ssi_get_tag_and_value: do a lightweight
scan through the tag value until/unless we reach a backslash
that necessitates the more complicated scanner loop.  In cases
where there isn't a backslash in the tag value, this reduces
the overhead of the scan from 5 comparisons per character to 3.

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