]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commit0a1c3b64b91c0bc7c83fee06250c59f94e711549
treea7d1a17c2a374291150155d39f506f6da7cf64ae
parent30541575f0744d0268af07e67fb1f87ad77f290b
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