httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: remaining CPU bottlenecks in 2.0
Date Wed, 05 Sep 2001 13:15:26 GMT
On Tue, Sep 04, 2001 at 11:56:48PM -0500, William A. Rowe, Jr. wrote:
>...
> You were discussing the possibility of parsing for <!--# as a skip by 5.
> 
> Consider jumping to a 4 byte alignment, truncating to char and skip by
> dwords.  E.g., you only have to test for three values, not four, and you
> can use the machine's most optimal path.  But I'd ask if strstr() isn't
> optimized on the platform, why are we reinventing it?

strstr() can't find strings that span a bucket boundary.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message