From d3bbb34c24cfe3e5296c6a5d3faacf6c8679fe70 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 5 Sep 2013 16:31:49 -0300 Subject: back to open hashing for the string table (but with a different 'hnext' field, to strings are still collected like all other objects) --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index e81d968d..3c79eb6c 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 2.109 2013/08/30 19:14:26 roberto Exp roberto $ +** $Id: lstate.c,v 2.110 2013/09/03 15:37:10 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -289,7 +289,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { g->gcrunning = 0; /* no GC while building state */ g->GCestimate = 0; g->GCthreshold = 10000; - g->strt.size = g->strt.nuse = g->strt.empty = 0; + g->strt.size = g->strt.nuse = 0; g->strt.hash = NULL; setnilvalue(&g->l_registry); luaZ_initbuffer(L, &g->buff); -- cgit v1.2.3-55-g6feb