Rearranged the code in mod_include's BNDM string-search function
for faster execution. This new code short-circuits out of the inner scanning loop after a single comparison when it hits a character not in the "<!--#" pattern. Compared to the previous code, this version does more work for characters in the pattern and less work for characters not in the pattern. In practice, the net result seems to be a speedup for typical shtml files, where characters in the pattern are less common than characters not in the pattern. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92604 13f79535-47bb-0310-9956-ffa450edef68
parent
510d83c4
Please register or sign in to comment