From: Sebastian Maneth Date: Sun, 4 Nov 2012 22:08:58 +0000 (+0100) Subject: improved count join for the equals case. X-Git-Url: http://git.nguyen.vg/gitweb/?a=commitdiff_plain;h=d31315cfd8d95205dc0debf430bfa7ce762d9974;p=SXSI%2Fxpathcomp.git improved count join for the equals case. --- diff --git a/src/lexindex_stub.cpp b/src/lexindex_stub.cpp index 9f88afb..f597a41 100644 --- a/src/lexindex_stub.cpp +++ b/src/lexindex_stub.cpp @@ -156,15 +156,17 @@ void VectorCountMergeJoin::mergeJoin(vector> v1, vectorget_text(v1[i1].first), (const char*) tree->get_text(v2[i2].first)); comp++; if (k==0) { - resultVector.push_back(v1[i1]); - i1++; //advance left + for(j=0; j