Changeset: ff6dad267b31 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ff6dad267b31
Modified Files:
monetdb5/modules/mal/joinpath.c
Branch: default
Log Message:
Make use of sample headless
We don't need the oids for the sample
diffs (16 lines):
diff --git a/monetdb5/modules/mal/joinpath.c b/monetdb5/modules/mal/joinpath.c
--- a/monetdb5/modules/mal/joinpath.c
+++ b/monetdb5/modules/mal/joinpath.c
@@ -72,10 +72,10 @@ ALGjoinCost(Client cntxt, BAT *l, BAT *r
/* The sampling method */
if(flag < 2 && ( lc > 100000 || rc > 100000)){
lsize= MIN(lc/100, (1<<SAMPLE_THRESHOLD_lOG)/3);
- lsample= BATsample(l,lsize);
+ lsample= BATsample_(l,lsize);
BBPreclaim(lsample);
rsize= MIN(rc/100, (1<<SAMPLE_THRESHOLD_lOG)/3);
- rsample= BATsample(r,rsize);
+ rsample= BATsample_(r,rsize);
BBPreclaim(rsample);
j= BATjoin(l,r, MAX(lsize,rsize));
lsize= BATcount(j);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list