Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15857/src/optimizer
Modified Files:
opt_joinselect.mx opt_reduce.mx opt_trace.mx optimizer.mx
optimizerWrapper.mx
Log Message:
propagated changes of Sunday Feb 03 2008 - Friday Feb 08 2008
from the MonetDB_5-4 branch to the development trunk
Index: opt_reduce.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_reduce.mx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- opt_reduce.mx 11 Jan 2008 10:41:39 -0000 1.20
+++ opt_reduce.mx 8 Feb 2008 22:36:34 -0000 1.21
@@ -31,7 +31,7 @@
The result of this optimizer can be seen using the MonetDB debugger,
which marks unused variables explicitly.
Experience with the SQL front-end shows, that this optimization
-step easily reduces the stack consumption by over 20\%.
+step easily reduces the stack consumption by over 20%.
This optimizer needs further testing.
Furthermore, the other optimizers should be careful in setting
Index: opt_joinselect.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_joinselect.mx,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- opt_joinselect.mx 11 Jan 2008 10:41:39 -0000 1.16
+++ opt_joinselect.mx 8 Feb 2008 22:36:34 -0000 1.17
@@ -37,6 +37,7 @@
#define match3(X,M) (getModuleId(X) && getModuleId(X)==M)
@c
[EMAIL PROTECTED]
#include "mal_config.h"
#include "opt_joinselect.h"
#include "mal_interpreter.h" /* for showErrors() */
Index: optimizerWrapper.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/optimizerWrapper.mx,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- optimizerWrapper.mx 11 Jan 2008 10:41:40 -0000 1.16
+++ optimizerWrapper.mx 8 Feb 2008 22:36:34 -0000 1.17
@@ -25,6 +25,7 @@
The wrapper expects the optimizers to return the number of
actions taken, i.e. number of succesful changes to the code.
[EMAIL PROTECTED]
@= exportOptimizer
opt_export str [EMAIL PROTECTED](MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
@@ -90,3 +91,4 @@
addtoMalBlkHistory(mb,"@1");
return MAL_SUCCEED;
}
[EMAIL PROTECTED]
Index: opt_trace.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_trace.mx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- opt_trace.mx 11 Jan 2008 10:41:40 -0000 1.3
+++ opt_trace.mx 8 Feb 2008 22:36:34 -0000 1.4
@@ -28,7 +28,7 @@
If optimizers decide to move things around, it can still be
localized at runtime.
@example
-_26{rows=31:lng} := algebra.uselect(_22,nil:sht,2,false,false);
[EMAIL PROTECTED]:[EMAIL PROTECTED] :=
algebra.uselect(_22,nil:sht,2,false,false);
mdb.collect(_26);
@end example
Index: optimizer.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/optimizer.mx,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- optimizer.mx 11 Jan 2008 10:41:40 -0000 1.73
+++ optimizer.mx 8 Feb 2008 22:36:34 -0000 1.74
@@ -101,7 +101,7 @@
(void) stk;
(void) mb;
(void) p;
- updateScenario("MALoptimizer", (MALfcn) MALoptimizer);
+ updateScenario("mal", "MALoptimizer", (MALfcn) MALoptimizer);
return MAL_SUCCEED;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins