Changeset: d10c02d811a5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d10c02d811a5
Modified Files:
        gdk/gdk_imprints.c
Branch: default
Log Message:

imprints: using type int rather than bte for bin-counter
seems to help the compiler to produce more efficient code


diffs (12 lines):

diff --git a/gdk/gdk_imprints.c b/gdk/gdk_imprints.c
--- a/gdk/gdk_imprints.c
+++ b/gdk/gdk_imprints.c
@@ -231,7 +231,7 @@ imprints_create(BAT *b, void *inbins, BU
        BUN *restrict min_bins = stats;
        BUN *restrict max_bins = min_bins + 64;
        BUN *restrict cnt_bins = max_bins + 64;
-       bte bin = 0;
+       int bin = 0;
        dcnt = icnt = 0;
        memset(cnt_bins, 0, 64 * SIZEOF_BUN);
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to