• Brian Pane's avatar
    Rearranged the code in mod_include's BNDM string-search function · 643d52fa
    Brian Pane authored
    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
    643d52fa
To find the state of this project's repository at the time of any of these versions, check out the tags.