Roberto Ierusalimschy
bd9e68cfcd
new implementation of gc: "Pre-collect" garbage in temporary lists and
...
then call fallbacks.
1997-05-14 15:38:29 -03:00
Roberto Ierusalimschy
9747f3c87a
double hashing + tables do not grow if there are empty slots
1997-05-08 17:43:30 -03:00
Roberto Ierusalimschy
3a9516ffc8
luaL check functions do not need the function name (it can be
...
accessed via luadebug interface).
1997-04-06 11:08:08 -03:00
Roberto Ierusalimschy
9319735744
using new lib auxlib.
1997-04-04 12:35:37 -03:00
Roberto Ierusalimschy
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
1997-03-31 11:19:01 -03:00
Roberto Ierusalimschy
ad5574c4c9
"Object" renamed to "TObject" (Tagged Object), to avoid conflicts with
...
pre-defined names in some C compilers.
1997-03-31 11:02:58 -03:00
Roberto Ierusalimschy
c3488f5115
must call "gc" i.m. for nil after all others.
1997-03-21 18:39:57 -03:00
Roberto Ierusalimschy
1444d28476
first full implementation of internal methods
1997-03-19 16:41:10 -03:00
Roberto Ierusalimschy
b6d91e24e2
"tag" changed to "ttype" (since now tag has other meaning)
1997-03-11 15:44:28 -03:00
Roberto Ierusalimschy
131d66efd2
first step in implementing internal methods.
1997-02-26 14:38:41 -03:00
Roberto Ierusalimschy
205ee1ec84
userdata can handle arbitrary binary data;
...
user tag is stored with data;
1997-02-11 09:40:01 -02:00
Roberto Ierusalimschy
62e1a4c84d
BUG: problems with negative indexes
1996-11-18 11:48:44 -02:00
Roberto Ierusalimschy
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
...
the default value).
1996-07-12 17:00:26 -03:00
Roberto Ierusalimschy
1936a9e53b
tables may grow bigger than words.
1996-05-06 11:30:27 -03:00
Roberto Ierusalimschy
45cf24485d
useless #include.
1996-02-14 15:25:04 -03:00
Roberto Ierusalimschy
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
...
an array of hash tables for all them.
1996-02-12 15:32:40 -03:00
Roberto Ierusalimschy
995a9f7188
no more "Bool" type
1996-02-07 12:13:17 -02:00
Roberto Ierusalimschy
68f337dfa6
Garbage collection of functions + header structure for functions
1995-10-04 14:13:02 -03:00
Roberto Ierusalimschy
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
...
"lua_reportbug" is only an internal function to build debug information
1995-05-02 15:43:03 -03:00
Roberto Ierusalimschy
b36cd823b1
header "string.h" was missing (gcc does not warn that)
1995-02-06 17:34:03 -02:00
Roberto Ierusalimschy
8faf4d1de2
control of garbage collection is done with Longs, as there can be
...
more than WORD objects to collect.
1995-01-12 12:19:04 -02:00
Roberto Ierusalimschy
8cb8594a3b
better control of integer types and their limits
1994-12-20 19:20:36 -02:00
Roberto Ierusalimschy
3365a35243
new constant LUA_NOOBJECT
1994-12-16 13:55:04 -02:00
Roberto Ierusalimschy
2b301d711b
new hash function; hash value for strings are kept with the string
1994-11-28 13:10:51 -02:00
Roberto Ierusalimschy
1929ddcf49
userdata can have different tags
1994-11-17 19:23:43 -02:00
Roberto Ierusalimschy
b234da1cc2
changes in garbage collection control
1994-11-17 11:58:57 -02:00
Roberto Ierusalimschy
2b5bc5d1a8
new module for memory allocation
1994-11-16 15:39:16 -02:00
Roberto Ierusalimschy
3b7a36653b
lua_equalObj now is global (and is used by opcode)
1994-11-14 16:41:15 -02:00
Roberto Ierusalimschy
8a0521fa52
fallback for garbage collection
1994-11-10 15:36:54 -02:00
Roberto Ierusalimschy
d95a8b3121
new API: lua_Object now is an integer
1994-11-07 14:34:44 -02:00
Roberto Ierusalimschy
62ec3797d5
inheritance is not built-in
1994-11-07 13:19:51 -02:00
Roberto Ierusalimschy
5cb6856ebc
because lua_error now does a longjmp, many functions do not need
...
to check conditions.
1994-11-03 20:20:15 -02:00
Roberto Ierusalimschy
0162decc58
tags T_NIL, etc, changed to LUA_T_NIL, etc
1994-11-02 18:29:09 -02:00
Roberto Ierusalimschy
41e4c5798e
small corrections
1994-11-01 15:54:31 -02:00
Waldemar Celes
f8c8159362
adaptative garbage collection.
1994-10-17 17:03:23 -02:00
Waldemar Celes
d107d5bfd2
implementacao de busca no campo godparent em substituicao
...
ao campo parents.
1994-10-11 09:59:49 -03:00
Waldemar Celes
b826a39919
Implementacao de heranca multipla.
1994-09-08 12:27:10 -03:00
Waldemar Celes
a4eeb099c8
Alteracao na macro 'streq'
1994-08-17 14:41:23 -03:00
Waldemar Celes
592a949272
heranca e nova implementacao do hash.
1994-08-17 12:03:11 -03:00
Waldemar Celes
b28da81cfe
Alteracao do hash, trocando tratamento de colisao por lista
...
pela estrategia de re-hash.
Foi feito uma avaliacao da funcao de hash, e constatado sua
eficiencia com uma media de 4 acessos no hash ate' 70% ocupado.
1994-08-09 08:24:45 -03:00
Waldemar Celes
088cc3f380
evitar, durante consultas, criacao de nos nao encontrados.
1994-08-05 16:25:09 -03:00
Waldemar Celes
493d718b7f
Uso de arvores binarias para armazenar nomes e realocacao dinamica
...
de tabelas (pilhas, hashtable, globais, codigo, etc.)
1994-07-19 18:27:18 -03:00
Waldemar Celes
44521b21e5
Implementacao da nova estrategia para armazenar os arrays
...
em lista encadeada.
1994-04-20 19:07:57 -03:00
Waldemar Celes
3577eb6f13
Acrescentar o include do gerenciador de memoria "mm".
1994-03-28 12:14:02 -03:00
Waldemar Celes
b405fb0ad7
hash manager for lua
1993-12-17 16:41:19 -02:00
The Lua team
cd05d9c5cb
oldest known commit
1993-07-28 10:18:00 -03:00