[patch/rfc] Tweak bcache performance

Andrew Cagney ac131313@redhat.com
Fri Nov 7 22:08:00 GMT 2003


> 2003-11-03  Andrew Cagney  <cagney@redhat.com>
> 
> 	* bcache.h: Update copyright.  Add comments on bcache VS hashtab.
> 	* bcache.c (struct bstring): Make "length" an unsigned short, add
> 	"half_hash".
> 	(struct bcache): Add "half_hash_error_count".
> 	(bcache): Compute and save the "half_hash".  Compare the
> 	"half_hash" before comparing the length.  Update
> 	half_hash_error_count.

I've checked this in.

Andrew




More information about the Gdb-patches mailing list