154 Commits (9b7987a9d1471ba94764286b28e0998f73deb46a)

Author SHA1 Message Date
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 6 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" 7 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 9 years ago
Roberto Ierusalimschy ee5edb6b68 macros 'getaddrstr' and 'getstr' unified (they do the same thing) 9 years ago
Roberto Ierusalimschy 41964648ee long strings are created directly in final position when possible 9 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 10 years ago
Roberto Ierusalimschy bb12903120 type 'Udata' refers directly to structure inside the union (union 10 years ago
Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union 10 years ago
Roberto Ierusalimschy 56137d58ff added check for conversion 'obj2gco' (and corrections for small 10 years ago
Roberto Ierusalimschy 14929f5764 use appropriate macros to convert GCObject to specific types 11 years ago
Roberto Ierusalimschy f61ceee708 LUAI_FUNC is being used only in header files 11 years ago
Roberto Ierusalimschy 2f5f77788f removed function 'luaS_eqstr' (not used anywhere) 11 years ago
Roberto Ierusalimschy c86b9da022 userdata can have any Lua value as uservalue 11 years ago
Roberto Ierusalimschy 6ca7b63bce check for shrinking string table done only at the end of a GC cycle 11 years ago
Roberto Ierusalimschy 1150873447 'luaC_newobj' does not handle special cases; only special case 11 years ago
Roberto Ierusalimschy d3bbb34c24 back to open hashing for the string table (but with a different 11 years ago
Roberto Ierusalimschy 9a871dd3db tables and userdata all go to local list, too 11 years ago
Roberto Ierusalimschy 90972ff136 LOCALBLACK changed to LOCALMARK and used also to control whether object 11 years ago
Roberto Ierusalimschy 50955e27f5 C functions and strings now go to the local list; first version 11 years ago
Roberto Ierusalimschy 33c49f7fa0 some details over new implementation of string table 11 years ago
Roberto Ierusalimschy ae800656c9 change in string table: string table is now independent of GC lists; all 11 years ago
Roberto Ierusalimschy 677d90165f no more generational collection !!! 11 years ago
Roberto Ierusalimschy 130c0e40e0 new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible 12 years ago
Roberto Ierusalimschy 0730a56d38 detail 12 years ago
Roberto Ierusalimschy 84b6581287 cast to avoid warning in some compilers (size_t x unsigned int) 12 years ago
Roberto Ierusalimschy c2361e0b61 definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important) 13 years ago
Roberto Ierusalimschy cfbe2333a4 string hash may not use all bytes (but this is configurable now) + 13 years ago
Roberto Ierusalimschy 678c1255c9 random seed used in the hash of all strings to avoid intentional 13 years ago
Roberto Ierusalimschy a4b96ce9a3 first implementation of long strings 13 years ago
Roberto Ierusalimschy 291f564485 field 'reserved' -> 'extra' (may be used for other purposes too) 13 years ago