apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bojan Smojver" <bo...@rexursive.com>
Subject Re: Hash collision vectors in APR?
Date Wed, 11 Jan 2012 06:50:33 GMT
------- Original message -------
> From: William A. Rowe Jr.

> Or, rather, ht->seed = (unsigned int)ht - 1 to avoid the obviousness
> of folding on even values.

We could also whack ht into the xor with time and use it as seed to 
srand(). So many possibilities...

Anyhow, what of the tables - willl they be affected too?

--
Bojan 

Mime
View raw message