141 Commits (60a7492d249860d20098ac2f0b9d863606c38450)

Author SHA1 Message Date
Roberto Ierusalimschy 435f587ed0 (much) better handling of memory alloction errors 25 years ago
Roberto Ierusalimschy cfba572076 remove dummy argument in LUA_ASSERT 25 years ago
Roberto Ierusalimschy 18b0e8270d 32 characteres are more than enough for a good hash 25 years ago
Roberto Ierusalimschy 1de5587184 `lua.h' is included before any other Lua header file 25 years ago
Roberto Ierusalimschy ef62b340e0 code cleaner for 16 bits. 25 years ago
Roberto Ierusalimschy 330e51bed3 string hash uses one single hash table 25 years ago
Roberto Ierusalimschy 11a7022067 global variables are stored in a Lua table 25 years ago
Roberto Ierusalimschy 73aa465a8e some name changes 25 years ago
Roberto Ierusalimschy 3d0577f4b9 small optimizations. 25 years ago
Roberto Ierusalimschy 3c9d999424 many details (most by lhf). 25 years ago
Roberto Ierusalimschy 12b45c2df2 luaS_newfixedstring renamed to luaS_newfixed 25 years ago
Roberto Ierusalimschy d015f1fc02 table sizes don't need to be primes; power of 2 gives the same performance. 25 years ago
Roberto Ierusalimschy 514783de9d simpler without `init_hash' 25 years ago
Roberto Ierusalimschy 29ede6aa13 first implementation of multiple states (reentrant code). 25 years ago
Roberto Ierusalimschy d915cf4f9d ways to measure number of `blocks' for GC + details 25 years ago
Roberto Ierusalimschy cde179b369 new implementation for global variable values (separated from strings) 25 years ago
Roberto Ierusalimschy 910836fb53 warnings from Visual C++ 25 years ago
Roberto Ierusalimschy 4e9f2d13d5 new implementation of hash tables. 25 years ago
Roberto Ierusalimschy c5fee7615e new implementation for string hashing, with chaining. 25 years ago
Roberto Ierusalimschy 4343420d4d simplified version of `gc' tag method (only for userdata now). 25 years ago
Roberto Ierusalimschy e2fc5aa684 checks table size only when element is a new one 25 years ago
Roberto Ierusalimschy c787dccd9b "const" !!! 26 years ago
Roberto Ierusalimschy b678e465a1 warnings in Solaris 26 years ago
Roberto Ierusalimschy 7bdbd833b5 userdata and strings are kept in separate stringtables 26 years ago
Roberto Ierusalimschy 13ad46b67d uses the same double hashing that is used for tables 26 years ago
Roberto Ierusalimschy d7294c6de8 double hashing for string tables. 26 years ago
Roberto Ierusalimschy 5378331f2d hash tables may shrink if use rate is too small. 27 years ago
Roberto Ierusalimschy 894a264671 new hash function. 27 years ago
Roberto Ierusalimschy 9618aaf07d small corrections in comments 27 years ago
Roberto Ierusalimschy 88a2023c32 support for strings with '\0' 27 years ago
Roberto Ierusalimschy 6cdf0d8768 tables can become full of "emptys" slots, and keep growing without limits. 27 years ago
Roberto Ierusalimschy 5981161360 small optimizations (?) 27 years ago
Roberto Ierusalimschy 90d87e3a78 details 27 years ago
Roberto Ierusalimschy 80b3d28f4a details (mainly error messages) 27 years ago
Roberto Ierusalimschy 3393fd7f25 first version of "lua_close" 27 years ago
Roberto Ierusalimschy accd7bc253 small modifications (format, small optimizations, etc) 27 years ago
Roberto Ierusalimschy 592a3f289b first implementation of centralized global state. 27 years ago
Roberto Ierusalimschy 45cad43c3f "lua_open": now lua has an explicit open operation. 27 years ago
Roberto Ierusalimschy 907368ead5 GC now considers an "estimate" of object size, instead of just the number 27 years ago
Roberto Ierusalimschy a580480b07 new implementation for globals: Global value is stored in TaggedString 28 years ago
Roberto Ierusalimschy daa858ef27 String table (keep all strings handled by Lua) 28 years ago