httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <>
Subject Re: [PATCH] apache_1.3.9-mod_rewrite-hash-patch
Date Wed, 13 Oct 1999 11:21:12 GMT

In article <> you wrote:

> I found it pretty easy to add other gimicks to the interpolation
> in mod_vhost_alias.   I to wanted to distribute vhosts thru MD5.
> MD5, while possibly not the fastest sufficent thing, has the advantage
> of being both in Apache and in Perl.  

Yes, MD5 as a hash table lookup function performs not as good as it should.
For hash table lookups one either should use the weaker MD4 (where its
weaknesses are not important but its better speed is interesting) or use one
of the hash functions dedicated to hash table lookups (instead of cryptography
purposes). These are usually faster by a factor of 2.

                                       Ralf S. Engelschall

View raw message