Update of /cvsroot/monetdb/pathfinder/compiler/algebra
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16093/compiler/algebra
Modified Files:
algopt.c
Log Message:
moving accidental checkin from Feb2009 to HEAD:
adding new optimization -Y
this optimization pushes projection up in the tree to minimize them.
the goal is to simplify the tree for other optimizations
U algopt.c
Index: algopt.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/algopt.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- algopt.c 9 Feb 2009 08:29:41 -0000 1.49
+++ algopt.c 20 Mar 2009 12:12:27 -0000 1.50
@@ -179,6 +179,19 @@
PFlog (" MonetDB specific optimizations: %s",
PFtimer_str (tm));
break;
+
+ case 'Y':
+ /*REMOVE_PROXIES("MonetDB specific optimization")*/
+
+ tm = PFtimer_start ();
+
+ root = PFalgopt_projection (root);
+
+ tm = PFtimer_stop (tm);
+ if (timing)
+ PFlog (" project optimizations: %s",
+ PFtimer_str (tm));
+ break;
case 'E':
MAP_UNQ_NAMES("common subexpression elimination")
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins