Roberto Ierusalimschy
|
ab52fc6097
new macro to `fix' strings
|
23 سال پیش |
Roberto Ierusalimschy
|
72659a0605
no more explicit support for wide-chars; too much troble...
|
24 سال پیش |
Roberto Ierusalimschy
|
e1d072571e
better syntax for type casts
|
24 سال پیش |
Roberto Ierusalimschy
|
8e586c13fc
cleaner way to ensure alignment for strings and userdata
|
24 سال پیش |
Roberto Ierusalimschy
|
d5b83ead90
new implementation for userdatas, without `keys'
|
24 سال پیش |
Roberto Ierusalimschy
|
39b7978329
first (big) step to support wide chars
|
24 سال پیش |
Roberto Ierusalimschy
|
099442c41f
better separation between basic types
|
24 سال پیش |
Roberto Ierusalimschy
|
d2e340f467
string pointers are always fully aligned
|
24 سال پیش |
Roberto Ierusalimschy
|
6875fdc8be
new semantics for pushuserdata (no more different userdatas with same value)
|
24 سال پیش |
Roberto Ierusalimschy
|
08496eea8b
small changes in lstring
|
24 سال پیش |
Roberto Ierusalimschy
|
0183b8030c
`free' gets size of the block: complete control over memory use
|
24 سال پیش |
Roberto Ierusalimschy
|
96253ed8ce
better support for 64-bit machines (avoid excessive use of longs)
|
25 سال پیش |
Roberto Ierusalimschy
|
d1c689af40
subtelties in layout of TString
|
25 سال پیش |
Roberto Ierusalimschy
|
b892f0a877
new API function `createuserdata'
|
25 سال پیش |
Roberto Ierusalimschy
|
dad808a73a
new way to count `nblocks' for GC (try to count bytes).
|
25 سال پیش |
Roberto Ierusalimschy
|
ef62b340e0
code cleaner for 16 bits.
|
25 سال پیش |
Roberto Ierusalimschy
|
330e51bed3
string hash uses one single hash table
|
25 سال پیش |
Roberto Ierusalimschy
|
11a7022067
global variables are stored in a Lua table
|
25 سال پیش |
Roberto Ierusalimschy
|
73aa465a8e
some name changes
|
25 سال پیش |
Roberto Ierusalimschy
|
3d0577f4b9
small optimizations.
|
25 سال پیش |
Roberto Ierusalimschy
|
3c9d999424
many details (most by lhf).
|
25 سال پیش |
Roberto Ierusalimschy
|
12b45c2df2
luaS_newfixedstring renamed to luaS_newfixed
|
26 سال پیش |
Roberto Ierusalimschy
|
d015f1fc02
table sizes don't need to be primes; power of 2 gives the same performance.
|
26 سال پیش |
Roberto Ierusalimschy
|
29ede6aa13
first implementation of multiple states (reentrant code).
|
26 سال پیش |
Roberto Ierusalimschy
|
cde179b369
new implementation for global variable values (separated from strings)
|
26 سال پیش |
Roberto Ierusalimschy
|
4e9f2d13d5
new implementation of hash tables.
|
26 سال پیش |
Roberto Ierusalimschy
|
c5fee7615e
new implementation for string hashing, with chaining.
|
26 سال پیش |
Roberto Ierusalimschy
|
4343420d4d
simplified version of `gc' tag method (only for userdata now).
|
26 سال پیش |
Roberto Ierusalimschy
|
c787dccd9b
"const" !!!
|
26 سال پیش |
Roberto Ierusalimschy
|
88a2023c32
support for strings with '\0'
|
27 سال پیش |