Re: [xml] Minor patch



On Wed, May 01, 2002 at 02:28:18PM +0100, Anthony Jones wrote:
The attached patch should provide more sensible behaviour in this
pathological case -- we only grow the hash table if the *average* chain
length is greater then MAX_HASH_LEN (perhaps MAX_HASH_LEN should also be
reduced if this patch is applied?)

Errr, forgot to mention -- we might as well remove 'len', it's not used for
anything else...

Anthony

Attachment: hash.c.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]