Changeset: 885d75bc23df for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=885d75bc23df
Modified Files:
        gdk/gdk.h
Branch: Oct2012
Log Message:

BBP: increase size (allow for more BATs)

BBP is a fixed-size array of pointers to arrays of BBPrec structures.
The size we have chosen for it, seems too small for some extreme cases.
We increase the size of the array of pointers by factor 10 (to 1000),
and on 64-bit systems increase the size of the array with BBPrec
structures by factor 2 (to ~16K).


diffs (17 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -1844,11 +1844,11 @@ typedef struct {
 } BBPrec;
 
 gdk_export bat BBPlimit;
-#define N_BBPINIT      100
+#define N_BBPINIT      1000
 #if SIZEOF_VOID_P == 4
 #define BBPINITLOG     11
 #else
-#define BBPINITLOG     13
+#define BBPINITLOG     14
 #endif
 #define BBPINIT                (1 << BBPINITLOG)
 /* absolute maximum number of BATs is N_BBPINIT * BBPINIT */
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to