back to open hashing for the string table (but with a different

'hnext' field, to strings are still collected like all other
objects)
This commit is contained in:
Roberto Ierusalimschy
2013-09-05 16:31:49 -03:00
parent 0ad15fc100
commit d3bbb34c24
5 changed files with 61 additions and 92 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 2.92 2013/08/30 19:14:26 roberto Exp roberto $
** $Id: lstate.h,v 2.93 2013/09/03 15:37:10 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -53,7 +53,6 @@ struct lua_longjmp; /* defined in ldo.c */
typedef struct stringtable {
TString **hash;
int nuse; /* number of elements */
int empty; /* number of available empty slots */
int size;
} stringtable;