diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-09-05 16:31:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-09-05 16:31:49 -0300 |
commit | d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70 (patch) | |
tree | b245be2289ab4fdbb558a0f52a81dd5631871ee3 /lstate.c | |
parent | 0ad15fc10041f59b5466fe902637b1a2fb64565d (diff) | |
download | lua-d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70.tar.gz lua-d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70.tar.bz2 lua-d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70.zip |
back to open hashing for the string table (but with a different
'hnext' field, to strings are still collected like all other
objects)
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.109 2013/08/30 19:14:26 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.110 2013/09/03 15:37:10 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -289,7 +289,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
289 | g->gcrunning = 0; /* no GC while building state */ | 289 | g->gcrunning = 0; /* no GC while building state */ |
290 | g->GCestimate = 0; | 290 | g->GCestimate = 0; |
291 | g->GCthreshold = 10000; | 291 | g->GCthreshold = 10000; |
292 | g->strt.size = g->strt.nuse = g->strt.empty = 0; | 292 | g->strt.size = g->strt.nuse = 0; |
293 | g->strt.hash = NULL; | 293 | g->strt.hash = NULL; |
294 | setnilvalue(&g->l_registry); | 294 | setnilvalue(&g->l_registry); |
295 | luaZ_initbuffer(L, &g->buff); | 295 | luaZ_initbuffer(L, &g->buff); |