Changeset: af0443f66df9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=af0443f66df9
Modified Files:
gdk/gdk_select.c
Branch: default
Log Message:
Do not scan imprints if the candidate list is disjoint with the select bats
diffs (12 lines):
diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -223,7 +223,7 @@ do {
\
bte rpp = ATOMelmshift(IMPS_PAGE >> b->T->shift); \
CAND; \
for (i=0, dcnt=0, icnt=0; \
- (dcnt < imprints->dictcnt) && (i+off < w+pr_off); \
+ (dcnt < imprints->dictcnt) && (i+off < w+pr_off) && (p<q);
\
dcnt++) { \
limit = ((BUN) d[dcnt].cnt) << rpp; \
while ((i+limit+off) <= (o+pr_off)) { \
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list