apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bojan Smojver" <bo...@rexursive.com>
Subject Re: svn commit: r1237078 - /apr/apr/trunk/tables/apr_hash.c
Date Sun, 29 Jan 2012 15:22:48 GMT
------- Original message -------
> From: Branko ─îibej

> A good, seeded cryptographic hash function would scatter the values much
> better than this does.

Just to make the hash more resistant to having the same content in upper bits (because we
start from a common random seed), we could run the hash value produced by hashing the strings
through the hash function twice. It may make a difference for larger hash tables.

--
Bojan
Mime
View raw message