From dd93bd7d001d53bb62802cf77ca499740d89217e Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Fri, 8 Mar 2013 21:15:08 +0200 Subject: Shuffle Jim_Obj to shrink it on 64bit (72 -> 64), removing holes No perf difference measured using bench.tcl. Signed-off-by: Lauri Kasanen --- jim.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jim.h b/jim.h index 0f24a02..1c23c23 100644 --- a/jim.h +++ b/jim.h @@ -285,10 +285,10 @@ typedef struct Jim_HashTableIterator { * The refcount of a freed object is always -1. * ---------------------------------------------------------------------------*/ typedef struct Jim_Obj { - int refCount; /* reference count */ char *bytes; /* string representation buffer. NULL = no string repr. */ - int length; /* number of bytes in 'bytes', not including the null term. */ const struct Jim_ObjType *typePtr; /* object type. */ + int refCount; /* reference count */ + int length; /* number of bytes in 'bytes', not including the null term. */ /* Internal representation union */ union { /* integer number type */ -- cgit v1.1