Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22114

Modified Files:
        pf_support.mx 
Log Message:

no need to sort an already [item,iter] (i.e., iter|item) ordered input to 
loop-lifted path-step routines


Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -d -r1.254 -r1.255
--- pf_support.mx       25 Jul 2007 13:17:16 -0000      1.254
+++ pf_support.mx       26 Jul 2007 10:42:16 -0000      1.255
@@ -1568,7 +1568,7 @@
 @
 @= pre_sort_input
        # pre-sort input
-       if ( and(order,1) = 0 ) {
+       if ( (and(order,1) = 0) and not(ordered(reverse(item)))) {
                var ord := item.tsort();
                    ord := ord.CTrefine(iter).mark([EMAIL PROTECTED]).reverse();
                iter := ord.leftfetchjoin(iter);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to