Changeset: 002f33d2c5f4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=002f33d2c5f4
Modified Files:
        monetdb5/extras/crackers/crackers_selecthol_ops.mx
Branch: holindex
Log Message:

Comment the deletion of node with negative weight.
The deletion of a node with negative weight is an optimization, that I will 
examine later.


diffs (14 lines):

diff --git a/monetdb5/extras/crackers/crackers_selecthol_ops.mx 
b/monetdb5/extras/crackers/crackers_selecthol_ops.mx
--- a/monetdb5/extras/crackers/crackers_selecthol_ops.mx
+++ b/monetdb5/extras/crackers/crackers_selecthol_ops.mx
@@ -561,8 +561,9 @@ createView:
        countBatElements=BATcount(b);
        /*fprintf(stderr,"BATcount(b)=%d\n",countBatElements);*/
        FN->weight = changeWeight(FN,countBatElements,L1);
-       if(FN->weight <0)
+       /*if(FN->weight <0)
                deleteNode(FrequencyStructA,FN->bid);
+       */
        /*printFrequencyStruct(FrequencyStruct);*/
        /*maxWB=findMax(FrequencyStructA);*/
        /*fprintf(stderr,"MAXWB=%d\n",maxWB);*/
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to