Changeset: 00cd66299677 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=00cd66299677
Modified Files:
monetdb5/mal/mal_interpreter.mx
Branch: default
Log Message:
DFLOWeligible costs are very high (cost seems to be an O(n2) (n number of
statements)). So we do not run dataflow on parts > 10K instructions
diffs (16 lines):
diff --git a/monetdb5/mal/mal_interpreter.mx b/monetdb5/mal/mal_interpreter.mx
--- a/monetdb5/mal/mal_interpreter.mx
+++ b/monetdb5/mal/mal_interpreter.mx
@@ -1510,6 +1510,12 @@
printFunction(GDKstdout, mb, 0, LIST_MAL_STMT | LIST_MAPI);
#endif
+ /*
+ * TODO improve cost of DFLOWeligible
+ */
+ if (stoppc && stoppc-startpc > 10000)
+ return runMALsequence( cntxt, mb, startpc+1, stoppc, stk, env,
pcicaller);
+
(void)env;
(void)pcicaller;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list