Roberto Ierusalimschy
|
9a89fb1c9d
Hash always use all characters in a long string
|
4 years ago |
Roberto Ierusalimschy
|
7288528a1e
Short strings always use all bytes in the hash
|
5 years ago |
Roberto Ierusalimschy
|
46c3587a6f
Clearer distinction between types and tags
|
5 years ago |
Roberto Ierusalimschy
|
2c68e66570
Details
|
6 years ago |
Roberto Ierusalimschy
|
f99509581e
Removed extra information from RCS keyword strings
|
7 years ago |
Roberto Ierusalimschy
|
34aa0c5bd7
new macros 'likely'/'unlikely' with hints for jump predictions
|
7 years ago |
Roberto Ierusalimschy
|
ca6fe7449a
userdata can have multiple user values
|
7 years ago |
Roberto Ierusalimschy
|
c7a8cba745
no more 'nfield' string
|
7 years ago |
Roberto Ierusalimschy
|
e2b15aa21d
janitor work on casts
|
7 years ago |
Roberto Ierusalimschy
|
2f6f6abeba
'rehash' -> 'tablerehash'
|
7 years ago |
Roberto Ierusalimschy
|
b077b20206
back to reallocation when resizing the string table.
|
7 years ago |
Roberto Ierusalimschy
|
e663a24ab0
more freedom in handling memory-allocation errors (not all allocations
|
7 years ago |
Roberto Ierusalimschy
|
7622373033
using explicit tests for allocation overflow whenever possible
|
7 years ago |
Roberto Ierusalimschy
|
9d28b40152
rehashes string table always allocating a new array instead of
|
7 years ago |
Roberto Ierusalimschy
|
6d998055c8
no more reference 'memerrmsg' + new reference to "n"
|
8 years ago |
Roberto Ierusalimschy
|
f230898ad6
tiny code refactoring in 'luaS_hash'
|
9 years ago |
Roberto Ierusalimschy
|
d356183402
new function 'luaS_hashlongstr'
|
9 years ago |
Roberto Ierusalimschy
|
df45f7118b
detail (added assertion)
|
9 years ago |
Roberto Ierusalimschy
|
9fae7b6d3f
code for string cache generalized for "associative sets" (compiler
|
10 years ago |
Roberto Ierusalimschy
|
ee5edb6b68
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
|
10 years ago |
Roberto Ierusalimschy
|
41964648ee
long strings are created directly in final position when possible
|
10 years ago |
Roberto Ierusalimschy
|
a5cbb7c3a7
detail (i + 1 > exp is simply i >= exp)
|
10 years ago |
Roberto Ierusalimschy
|
6645bb2df4
'strcache' elements as arrays of 1 element hints that cache can
|
10 years ago |
Roberto Ierusalimschy
|
b436ed58a3
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
|
10 years ago |
Roberto Ierusalimschy
|
a80cada914
new cache for interning strings
|
10 years ago |
Roberto Ierusalimschy
|
7e2015a46d
size of short strings stored in a single byte, to reduce the size
|
10 years ago |
Roberto Ierusalimschy
|
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
|
10 years ago |
Roberto Ierusalimschy
|
17ee57f8e0
'iswhite' and related macros now can work directly on any object
|
11 years ago |
Roberto Ierusalimschy
|
bb12903120
type 'Udata' refers directly to structure inside the union (union
|
11 years ago |
Roberto Ierusalimschy
|
ca41b43f53
type 'TString' refers directly to the structure inside the union
|
11 years ago |