httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] 10x performance increase patch #2
Date Wed, 21 Jul 1999 02:49:54 GMT
On Wed, 14 Jul 1999, Mike Abbott wrote:

> The vanilla Apache parsing functions read_request_line() and
> get_mime_headers() make multiple passes and many copies.  I wrote new
> functions to parse common HTTP request lines and headers in a single
> pass, copying minimal data.  The streamlined parsing routines
> quickly_read_request_line() and quickly_get_mime_headers() do not handle
> all the edge cases, nor do they have to:  When they detect a construct
> they cannot parse quickly they give up and fall back on the vanilla
> Apache parsing functions.  They are meant to parse the simple, common
> cases quickly and to recognize when they cannot do so.

nice... this is the technique I used in my flow prototype a long time ago,
nice to see it for apache.


View raw message