Make hash table sizes prime numbers instead of powers of two.

This commit is contained in:
Dianne Skoll
2024-10-12 10:24:22 -04:00
parent 950c0b3747
commit 302bc5a5de
3 changed files with 122 additions and 122 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
#include "protos.h"
#include "err.h"
#define FUNC_HASH_SIZE 32 /* Size of User-defined function hash table */
#define FUNC_HASH_SIZE 31 /* Size of User-defined function hash table */
/* The hash table */
static UserFunc *FuncHash[FUNC_HASH_SIZE];