aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-01-05 16:20:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-01-05 16:20:51 -0200
commite2498e079e4636217e89f0b28844c4b5df4f8793 (patch)
treeda82e007f0e8153985323c2bdb190811f79e0c57 /lstate.h
parent65726f3e2e226f6a350a5dba643c13c8edd34965 (diff)
downloadlua-e2498e079e4636217e89f0b28844c4b5df4f8793.tar.gz
lua-e2498e079e4636217e89f0b28844c4b5df4f8793.tar.bz2
lua-e2498e079e4636217e89f0b28844c4b5df4f8793.zip
change in hash algorithm so that it does not need empty slot
(tables can be 100% full)
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index 06a5c5dc..26a94082 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.9 2004/12/06 17:53:42 roberto Exp roberto $ 2** $Id: lstate.h,v 2.10 2004/12/13 12:15:11 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*/
@@ -90,7 +90,6 @@ typedef struct global_State {
90 lua_CFunction panic; /* to be called in unprotected errors */ 90 lua_CFunction panic; /* to be called in unprotected errors */
91 TValue _registry; 91 TValue _registry;
92 struct lua_State *mainthread; 92 struct lua_State *mainthread;
93 Node dummynode[1]; /* common node array for all empty tables */
94 TString *tmname[TM_N]; /* array with tag-method names */ 93 TString *tmname[TM_N]; /* array with tag-method names */
95} global_State; 94} global_State;
96 95