Changeset: 5a8d91ee4283 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5a8d91ee4283
Modified Files:
gdk/gdk_search.c
Branch: Oct2014
Log Message:
HASHmask(): start with minimal hash mask 256 (i.e., BATTINY)
using hash mask < 256 (i.e., < BATTINY) does not make any sense ...
diffs (12 lines):
diff --git a/gdk/gdk_search.c b/gdk/gdk_search.c
--- a/gdk/gdk_search.c
+++ b/gdk/gdk_search.c
@@ -111,7 +111,7 @@ HASHwidth(BUN hashsize)
BUN
HASHmask(BUN cnt)
{
- BUN m = 8; /* minimum size */
+ BUN m = 256; /* minimum size; == BATTINY */
/* find largest power of 2 smaller than cnt */
while (m + m < cnt)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list