From 6c547bc312ef528815040e42ca5e80233ff98265 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Mon, 1 Aug 1994 04:38:09 +0000 Subject: Increased hash bucket table size --- server/class.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'server/class.c') diff --git a/server/class.c b/server/class.c index c959d5d..768ede2 100644 --- a/server/class.c +++ b/server/class.c @@ -74,12 +74,11 @@ static char rcsid_class_c[] = /* Private variables */ #define EMPTY_CLASS 2000 -#define HASHSIZE 511 -#define HASHMUL 243 +#define HASHSIZE 1023 +#define CLASS_HASHVAL(cl,in) (cl->hash_val ^ in->hash_val) % HASHSIZE static ZClass_t *class_bucket[HASHSIZE]; /* the hash table of pointers */ -#define CLASS_HASHVAL(cl,in) (cl->hash_val ^ in->hash_val) % HASHSIZE #ifdef __STDC__ # define P(s) s -- cgit v1.2.3