diff options
author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1995-05-16 16:23:55 -0300 |
---|---|---|
committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1995-05-16 16:23:55 -0300 |
commit | e13753e2fb6ad6522c87e9a0a88dc745e9205797 (patch) | |
tree | f0bee9f5d257638d9926bd9bf868a40e1f34d3e6 | |
parent | ec79f25286a4ac843280ae7377ec1e5b39a70cea (diff) | |
download | lua-e13753e2fb6ad6522c87e9a0a88dc745e9205797.tar.gz lua-e13753e2fb6ad6522c87e9a0a88dc745e9205797.tar.bz2 lua-e13753e2fb6ad6522c87e9a0a88dc745e9205797.zip |
Ajustar limites para garbage collection.
-rw-r--r-- | table.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Module to control static tables | 3 | ** Module to control static tables |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_table="$Id: table.c,v 2.29 1995/05/02 18:43:03 roberto Exp roberto $"; | 6 | char *rcs_table="$Id: table.c,v 2.30 1995/05/16 17:23:58 roberto Exp celes $"; |
7 | 7 | ||
8 | #include <string.h> | 8 | #include <string.h> |
9 | 9 | ||
@@ -33,8 +33,8 @@ static Long lua_maxconstant = 0; | |||
33 | char *lua_file[MAXFILE]; | 33 | char *lua_file[MAXFILE]; |
34 | int lua_nfile; | 34 | int lua_nfile; |
35 | 35 | ||
36 | #define GARBAGE_BLOCK 256 | 36 | #define GARBAGE_BLOCK 1024 |
37 | #define MIN_GARBAGE_BLOCK 10 | 37 | #define MIN_GARBAGE_BLOCK (GARBAGE_BLOCK/2) |
38 | 38 | ||
39 | static void lua_nextvar (void); | 39 | static void lua_nextvar (void); |
40 | static void setglobal (void); | 40 | static void setglobal (void); |