Roberto Ierusalimschy
|
bd9e68cfcd
new implementation of gc: "Pre-collect" garbage in temporary lists and
|
28 жил өмнө |
Roberto Ierusalimschy
|
9747f3c87a
double hashing + tables do not grow if there are empty slots
|
28 жил өмнө |
Roberto Ierusalimschy
|
3a9516ffc8
luaL check functions do not need the function name (it can be
|
28 жил өмнө |
Roberto Ierusalimschy
|
9319735744
using new lib auxlib.
|
28 жил өмнө |
Roberto Ierusalimschy
|
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
|
28 жил өмнө |
Roberto Ierusalimschy
|
ad5574c4c9
"Object" renamed to "TObject" (Tagged Object), to avoid conflicts with
|
28 жил өмнө |
Roberto Ierusalimschy
|
c3488f5115
must call "gc" i.m. for nil after all others.
|
28 жил өмнө |
Roberto Ierusalimschy
|
1444d28476
first full implementation of internal methods
|
28 жил өмнө |
Roberto Ierusalimschy
|
b6d91e24e2
"tag" changed to "ttype" (since now tag has other meaning)
|
28 жил өмнө |
Roberto Ierusalimschy
|
131d66efd2
first step in implementing internal methods.
|
28 жил өмнө |
Roberto Ierusalimschy
|
205ee1ec84
userdata can handle arbitrary binary data;
|
28 жил өмнө |
Roberto Ierusalimschy
|
62e1a4c84d
BUG: problems with negative indexes
|
29 жил өмнө |
Roberto Ierusalimschy
|
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
|
29 жил өмнө |
Roberto Ierusalimschy
|
1936a9e53b
tables may grow bigger than words.
|
29 жил өмнө |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 жил өмнө |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 жил өмнө |
Roberto Ierusalimschy
|
995a9f7188
no more "Bool" type
|
29 жил өмнө |
Roberto Ierusalimschy
|
68f337dfa6
Garbage collection of functions + header structure for functions
|
30 жил өмнө |
Roberto Ierusalimschy
|
18ea2eff80
calls to "lua_reportbug" changed to "lua_error", since
|
30 жил өмнө |
Roberto Ierusalimschy
|
b36cd823b1
header "string.h" was missing (gcc does not warn that)
|
30 жил өмнө |
Roberto Ierusalimschy
|
8faf4d1de2
control of garbage collection is done with Longs, as there can be
|
31 жил өмнө |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 жил өмнө |
Roberto Ierusalimschy
|
3365a35243
new constant LUA_NOOBJECT
|
31 жил өмнө |
Roberto Ierusalimschy
|
2b301d711b
new hash function; hash value for strings are kept with the string
|
31 жил өмнө |
Roberto Ierusalimschy
|
1929ddcf49
userdata can have different tags
|
31 жил өмнө |
Roberto Ierusalimschy
|
b234da1cc2
changes in garbage collection control
|
31 жил өмнө |
Roberto Ierusalimschy
|
2b5bc5d1a8
new module for memory allocation
|
31 жил өмнө |
Roberto Ierusalimschy
|
3b7a36653b
lua_equalObj now is global (and is used by opcode)
|
31 жил өмнө |
Roberto Ierusalimschy
|
8a0521fa52
fallback for garbage collection
|
31 жил өмнө |
Roberto Ierusalimschy
|
d95a8b3121
new API: lua_Object now is an integer
|
31 жил өмнө |