#ifndef PITTADEFS #define PITTADEFS /* DEBUG levels: * 0: No debugging * 1: Hash table debugging * 2: Hash and list debugging */ #define DEBUG 2 /* hash things */ #define MAXKEYLEN 9 /* the higher the DENSITY, the less lists you will have in the hash_table. * i.e. hash_table uses lesser memory, but lists will be longer which * will cause lookups to take longer. */ #define DENSITY 8 #define MAXHASH ((26*MAXKEYLEN)/DENSITY) #endif