Roberto Ierusalimschy
|
e238efc536
default now is multi-state
|
25 anni fa |
Roberto Ierusalimschy
|
435f587ed0
(much) better handling of memory alloction errors
|
25 anni fa |
Roberto Ierusalimschy
|
cfba572076
remove dummy argument in LUA_ASSERT
|
25 anni fa |
Roberto Ierusalimschy
|
18b0e8270d
32 characteres are more than enough for a good hash
|
25 anni fa |
Roberto Ierusalimschy
|
1de5587184
`lua.h' is included before any other Lua header file
|
25 anni fa |
Roberto Ierusalimschy
|
ef62b340e0
code cleaner for 16 bits.
|
25 anni fa |
Roberto Ierusalimschy
|
330e51bed3
string hash uses one single hash table
|
25 anni fa |
Roberto Ierusalimschy
|
11a7022067
global variables are stored in a Lua table
|
25 anni fa |
Roberto Ierusalimschy
|
73aa465a8e
some name changes
|
25 anni fa |
Roberto Ierusalimschy
|
3d0577f4b9
small optimizations.
|
25 anni fa |
Roberto Ierusalimschy
|
3c9d999424
many details (most by lhf).
|
25 anni fa |
Roberto Ierusalimschy
|
12b45c2df2
luaS_newfixedstring renamed to luaS_newfixed
|
26 anni fa |
Roberto Ierusalimschy
|
d015f1fc02
table sizes don't need to be primes; power of 2 gives the same performance.
|
26 anni fa |
Roberto Ierusalimschy
|
514783de9d
simpler without `init_hash'
|
26 anni fa |
Roberto Ierusalimschy
|
29ede6aa13
first implementation of multiple states (reentrant code).
|
26 anni fa |
Roberto Ierusalimschy
|
d915cf4f9d
ways to measure number of `blocks' for GC + details
|
26 anni fa |
Roberto Ierusalimschy
|
cde179b369
new implementation for global variable values (separated from strings)
|
26 anni fa |
Roberto Ierusalimschy
|
910836fb53
warnings from Visual C++
|
26 anni fa |
Roberto Ierusalimschy
|
4e9f2d13d5
new implementation of hash tables.
|
26 anni fa |
Roberto Ierusalimschy
|
c5fee7615e
new implementation for string hashing, with chaining.
|
26 anni fa |
Roberto Ierusalimschy
|
4343420d4d
simplified version of `gc' tag method (only for userdata now).
|
26 anni fa |
Roberto Ierusalimschy
|
e2fc5aa684
checks table size only when element is a new one
|
26 anni fa |
Roberto Ierusalimschy
|
c787dccd9b
"const" !!!
|
26 anni fa |
Roberto Ierusalimschy
|
b678e465a1
warnings in Solaris
|
26 anni fa |
Roberto Ierusalimschy
|
7bdbd833b5
userdata and strings are kept in separate stringtables
|
26 anni fa |
Roberto Ierusalimschy
|
13ad46b67d
uses the same double hashing that is used for tables
|
26 anni fa |
Roberto Ierusalimschy
|
d7294c6de8
double hashing for string tables.
|
26 anni fa |
Roberto Ierusalimschy
|
5378331f2d
hash tables may shrink if use rate is too small.
|
27 anni fa |
Roberto Ierusalimschy
|
894a264671
new hash function.
|
27 anni fa |
Roberto Ierusalimschy
|
9618aaf07d
small corrections in comments
|
27 anni fa |