Brian Pane wrote:
> 
> This patch optimizes away some pointer arithmetic in the
> inner loop of the BNDM string-search algorithm in mod_include.
> 
> The optimization takes advantage of two invariants in the
> original code:
>   * Every time the variable 'skip' is set, skip==p-pi
>   * The only use of skip as an rvalue is in the expression "pi += skip".

Looks good in theory.  I haven't tested it.

Greg

Reply via email to