Roberto Ierusalimschy
|
0183b8030c
`free' gets size of the block: complete control over memory use
|
24 years ago |
Roberto Ierusalimschy
|
0066bbbb0b
details
|
24 years ago |
Roberto Ierusalimschy
|
96253ed8ce
better support for 64-bit machines (avoid excessive use of longs)
|
25 years ago |
Roberto Ierusalimschy
|
d1c689af40
subtelties in layout of TString
|
25 years ago |
Roberto Ierusalimschy
|
b892f0a877
new API function `createuserdata'
|
25 years ago |
Roberto Ierusalimschy
|
dad808a73a
new way to count `nblocks' for GC (try to count bytes).
|
25 years ago |
Roberto Ierusalimschy
|
e238efc536
default now is multi-state
|
25 years ago |
Roberto Ierusalimschy
|
435f587ed0
(much) better handling of memory alloction errors
|
25 years ago |
Roberto Ierusalimschy
|
cfba572076
remove dummy argument in LUA_ASSERT
|
25 years ago |
Roberto Ierusalimschy
|
18b0e8270d
32 characteres are more than enough for a good hash
|
25 years ago |
Roberto Ierusalimschy
|
1de5587184
`lua.h' is included before any other Lua header file
|
25 years ago |
Roberto Ierusalimschy
|
ef62b340e0
code cleaner for 16 bits.
|
25 years ago |
Roberto Ierusalimschy
|
330e51bed3
string hash uses one single hash table
|
25 years ago |
Roberto Ierusalimschy
|
11a7022067
global variables are stored in a Lua table
|
25 years ago |
Roberto Ierusalimschy
|
73aa465a8e
some name changes
|
25 years ago |
Roberto Ierusalimschy
|
3d0577f4b9
small optimizations.
|
25 years ago |
Roberto Ierusalimschy
|
3c9d999424
many details (most by lhf).
|
25 years ago |
Roberto Ierusalimschy
|
12b45c2df2
luaS_newfixedstring renamed to luaS_newfixed
|
26 years ago |
Roberto Ierusalimschy
|
d015f1fc02
table sizes don't need to be primes; power of 2 gives the same performance.
|
26 years ago |
Roberto Ierusalimschy
|
514783de9d
simpler without `init_hash'
|
26 years ago |
Roberto Ierusalimschy
|
29ede6aa13
first implementation of multiple states (reentrant code).
|
26 years ago |
Roberto Ierusalimschy
|
d915cf4f9d
ways to measure number of `blocks' for GC + details
|
26 years ago |
Roberto Ierusalimschy
|
cde179b369
new implementation for global variable values (separated from strings)
|
26 years ago |
Roberto Ierusalimschy
|
910836fb53
warnings from Visual C++
|
26 years ago |
Roberto Ierusalimschy
|
4e9f2d13d5
new implementation of hash tables.
|
26 years ago |
Roberto Ierusalimschy
|
c5fee7615e
new implementation for string hashing, with chaining.
|
26 years ago |
Roberto Ierusalimschy
|
4343420d4d
simplified version of `gc' tag method (only for userdata now).
|
26 years ago |
Roberto Ierusalimschy
|
e2fc5aa684
checks table size only when element is a new one
|
26 years ago |
Roberto Ierusalimschy
|
c787dccd9b
"const" !!!
|
26 years ago |
Roberto Ierusalimschy
|
b678e465a1
warnings in Solaris
|
26 years ago |