diff options
author | Mike Pall <mike> | 2010-07-21 22:53:27 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-07-21 22:53:27 +0200 |
commit | 420124372b7643410a1cdd6f80b9cc8aa6ec1302 (patch) | |
tree | 6048404974755391eec68a445258639d8d41425e /src/lj_obj.h | |
parent | d05873ee0ae63ee47710a2c9843d032010cc296f (diff) | |
download | luajit2-420124372b7643410a1cdd6f80b9cc8aa6ec1302.tar.gz |
Switch to fast string hash.
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r-- | src/lj_obj.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h index f29ecb0b..762e58ce 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h @@ -473,10 +473,11 @@ typedef struct global_State { GCState gc; /* Garbage collector. */ SBuf tmpbuf; /* Temporary buffer for string concatenation. */ Node nilnode; /* Fallback 1-element hash part (nil key and value). */ + GCstr strempty; /* Empty string. */ + uint8_t stremptyz; /* Zero terminator of empty string. */ uint8_t hookmask; /* Hook mask. */ uint8_t dispatchmode; /* Dispatch mode. */ uint8_t vmevmask; /* VM event mask. */ - uint8_t unused1; GCRef mainthref; /* Link to main thread. */ TValue registrytv; /* Anchor for registry. */ TValue tmptv; /* Temporary TValue. */ |