httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [IDEA] using tsearch() -- was: [finrod@EWOX.ORG: YA Apache DoS attack]
Date Thu, 13 Aug 1998 16:24:16 GMT


On Thu, 13 Aug 1998, Dean Gaudet wrote:

> One option for speeding up the core and proxy, which search for fixed-name
> such as "Content-Length" would be to "intern" the names.

BTW, we can use a perfect hash to do the intern operation as well -- so
we'd actually have a flat file that lists all the internable names, and
then a tool that generates a few .h files and a .c file with the perfect
hash function in it.  Standard compiler trick :) 

Dean


Mime
View raw message