diff options
author | Lauri Kasanen <cand@gmx.com> | 2013-03-08 21:15:08 +0200 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-03-12 09:00:53 +1000 |
commit | dd93bd7d001d53bb62802cf77ca499740d89217e (patch) | |
tree | 1f30d266fbb9bc227b7d3e524749f4eb2902c698 /jim.h | |
parent | 69f1b01e204f538283ef575691c35e76b99f25df (diff) | |
download | jimtcl-dd93bd7d001d53bb62802cf77ca499740d89217e.zip jimtcl-dd93bd7d001d53bb62802cf77ca499740d89217e.tar.gz jimtcl-dd93bd7d001d53bb62802cf77ca499740d89217e.tar.bz2 |
Shuffle Jim_Obj to shrink it on 64bit (72 -> 64), removing holes
No perf difference measured using bench.tcl.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Diffstat (limited to 'jim.h')
-rw-r--r-- | jim.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |