Roberto Ierusalimschy
|
60b6599e83
Short strings can be external, too
|
2 هفته پیش |
Roberto Ierusalimschy
|
5894ca7b95
Scanner doesn't need to anchor reserved words
|
7 ماه پیش |
Roberto Ierusalimschy
|
0acd55898d
Added gcc option '-Wconversion'
|
1 سال پیش |
Roberto Ierusalimschy
|
55ac40f859
Cleaning of llimits.h
|
1 سال پیش |
Roberto Ierusalimschy
|
9fa63a6268
Some 'unsigned int' changed to 'unsigned'
|
1 سال پیش |
Roberto Ierusalimschy
|
024f9064f1
External strings
|
1 سال پیش |
Roberto Ierusalimschy
|
7f4906f565
Towards external strings
|
1 سال پیش |
Roberto Ierusalimschy
|
9a89fb1c9d
Hash always use all characters in a long string
|
4 سال پیش |
Roberto Ierusalimschy
|
9514abc2da
Cleaner definition for 'TString'
|
5 سال پیش |
Roberto Ierusalimschy
|
7288528a1e
Short strings always use all bytes in the hash
|
5 سال پیش |
Roberto Ierusalimschy
|
46c3587a6f
Clearer distinction between types and tags
|
5 سال پیش |
Roberto Ierusalimschy
|
c5feac2b5e
Strings inside Lua are not fully aligned
|
6 سال پیش |
Roberto Ierusalimschy
|
f99509581e
Removed extra information from RCS keyword strings
|
7 سال پیش |
Roberto Ierusalimschy
|
ca6fe7449a
userdata can have multiple user values
|
7 سال پیش |
Roberto Ierusalimschy
|
599f1742c6
detail (typo in comments)
|
7 سال پیش |
Roberto Ierusalimschy
|
6d998055c8
no more reference 'memerrmsg' + new reference to "n"
|
8 سال پیش |
Roberto Ierusalimschy
|
d356183402
new function 'luaS_hashlongstr'
|
9 سال پیش |
Roberto Ierusalimschy
|
41964648ee
long strings are created directly in final position when possible
|
10 سال پیش |
Roberto Ierusalimschy
|
b436ed58a3
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
|
10 سال پیش |
Roberto Ierusalimschy
|
a80cada914
new cache for interning strings
|
10 سال پیش |
Roberto Ierusalimschy
|
7e2015a46d
size of short strings stored in a single byte, to reduce the size
|
10 سال پیش |
Roberto Ierusalimschy
|
bb12903120
type 'Udata' refers directly to structure inside the union (union
|
11 سال پیش |
Roberto Ierusalimschy
|
ca41b43f53
type 'TString' refers directly to the structure inside the union
|
11 سال پیش |
Roberto Ierusalimschy
|
2f5f77788f
removed function 'luaS_eqstr' (not used anywhere)
|
11 سال پیش |
Roberto Ierusalimschy
|
c86b9da022
userdata can have any Lua value as uservalue
|
11 سال پیش |
Roberto Ierusalimschy
|
0df6635711
"fixed" objects kept in a separated list (instead of being kept in
|
12 سال پیش |
Roberto Ierusalimschy
|
ae800656c9
change in string table: string table is now independent of GC lists; all
|
12 سال پیش |
Roberto Ierusalimschy
|
439d74e29f
added 'local' bit (true => object is only refered by local variables)
|
12 سال پیش |
Roberto Ierusalimschy
|
678c1255c9
random seed used in the hash of all strings to avoid intentional
|
13 سال پیش |
Roberto Ierusalimschy
|
a4b96ce9a3
first implementation of long strings
|
13 سال پیش |