Re: [PATCH]: Linux Transparent Proxy

From: Gianni Tedesco <gianni@dont-contact.us>
Date: 12 Mar 2003 16:10:25 +0000

On Wed, 2003-03-12 at 15:57, Gianni Tedesco wrote:
> I would like to further hack pconn code to key on the binary structures
> to get a little more memory efficiency, or at least use a better string
> hashing function.

Heck, I just threw together this, it replaces hash_string with the
fowler/noll/vo hash. Real world tests and my own experience show it to
be possibly the best generic string hashing function out there.

Not benchmarked it but thought it might be interesting anyway :)

-- 
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

Received on Wed Mar 12 2003 - 09:09:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:32 MST