This commit is contained in:
Roberto Ierusalimschy
2000-10-06 16:28:47 -03:00
parent f01e6c6f1d
commit cd3d446957
2 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.c,v 1.42 2000/09/29 12:42:13 roberto Exp roberto $
** $Id: lstate.c,v 1.43 2000/10/05 13:00:17 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -89,7 +89,7 @@ lua_State *lua_open (int stacksize) {
lua_close(L);
return NULL;
}
L->GCthreshold = L->nblocks*4;
L->GCthreshold = 2*L->nblocks;
return L;
}