apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ami Ganguli <hse_...@yahoo.co.uk>
Subject Re: precalculating hash values for apr_hash_t
Date Sat, 17 Apr 2004 22:13:26 GMT
 --- Stas Bekman <stas@stason.org> wrote: 
> Perl also exposes the hashing function, so you can
> pre-hash values 

My second patch does this.  The case where the hash
function has to find the length of the key is messy,
however.  I don't see a clean way to do it without
traversing the string twice.

... Ami.

Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 

View raw message