Changeset: 3a277bab8dc6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3a277bab8dc6
Modified Files:
        monetdb5/extras/rdf/rdfschema.c
Branch: rdf
Log Message:

Remove BATmirror when using HASHloop


diffs (21 lines):

diff --git a/monetdb5/extras/rdf/rdfschema.c b/monetdb5/extras/rdf/rdfschema.c
--- a/monetdb5/extras/rdf/rdfschema.c
+++ b/monetdb5/extras/rdf/rdfschema.c
@@ -2617,7 +2617,7 @@ char checkCSduplication(CSBats *csBats, 
        BUN pos; 
        char isDuplication = 0; 
 
-       BATiter bi = bat_iterator(BATmirror(csBats->hsKeyBat));
+       BATiter bi = bat_iterator(csBats->hsKeyBat);
                        
        HASHloop(bi, csBats->hsKeyBat->T->hash, pos, (ptr) &cskey){
                //printf("  pos: " BUNFMT, pos);
@@ -9803,6 +9803,8 @@ RDFextractCSwithTypes(int *ret, bat *sba
        *maxNumPwithDup  = 0;
        //Phase 1: Assign an ID for each CS
        RDFassignCSId(ret, sbat, pbat, obat, ontbat,freqCSset, freqThreshold, 
csBats, *subjCSMap, maxCSoid, &maxNumProp, maxNumPwithDup);
+
+       if (1) throw(RDF, "rdf.AssignCSId", "Stop for profiling");; 
                
        curT = clock(); 
        printf (" ----- Exploring all CSs took  %f seconds.\n", ((float)(curT - 
tmpLastT))/CLOCKS_PER_SEC);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to