Changeset: c960034ebd06 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c960034ebd06
Modified Files:
        gdk/gdk.h
Branch: linear-hashing
Log Message:

Rearrange struct layout for more optimal use of space on 64 bit archs.


diffs (17 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -1536,10 +1536,10 @@ typedef struct {
        BAT *cache;             /* if loaded: BAT* handle */
        char *logical;          /* logical name (may point at bak) */
        char bak[16];           /* logical name backup (tmp_%o) */
+       BAT *desc;              /* the BAT descriptor */
+       char *options;          /* A string list of options */
+       char physical[20];      /* dir + basename for storage */
        bat next;               /* next BBP slot in linked list */
-       BAT *desc;              /* the BAT descriptor */
-       char physical[20];      /* dir + basename for storage */
-       str options;            /* A string list of options */
        int refs;               /* in-memory references on which the loaded 
status of a BAT relies */
        int lrefs;              /* logical references on which the existence of 
a BAT relies */
        volatile unsigned status; /* status mask used for spin locking */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to