]> source.dussan.org Git - rspamd.git/commitdiff
* Use prime number for hash nodes initial value
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 27 Jan 2009 16:23:26 +0000 (19:23 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 27 Jan 2009 16:23:26 +0000 (19:23 +0300)
src/hash.c

index 2be705999bfe99a542927829073ce01d3b9d33dc..54791f8f233f0595cf6887067e97642491f7673b 100644 (file)
@@ -18,7 +18,7 @@
 #include <stdlib.h>
 #include "hash.h"
 
-#define HASH_TABLE_MIN_SIZE 20
+#define HASH_TABLE_MIN_SIZE 19
 #define HASH_TABLE_MAX_SIZE 13845163
 
 /*