74 Commits (cac075a1221f373053196dbb24bdcff4609b8241)

Author SHA1 Message Date
Roberto Ierusalimschy f99509581e Removed extra information from RCS keyword strings 6 years ago
Roberto Ierusalimschy 6e600695f8 field 'sizearray' in struct 'Table' changed to 'alimit', which can 6 years ago
Roberto Ierusalimschy fb8fa66136 no more 'luaH_emptyobject' and comparisons of addresses of global variables 7 years ago
Roberto Ierusalimschy 9243c414d9 first version of empty entries in tables 7 years ago
Roberto Ierusalimschy b6f87491af in hash nodes, keys are stored in separate pieces to avoid wasting 8 years ago
Roberto Ierusalimschy e39ee2cc58 'luaH_getn' must return 'lua_Unsigned' (or 'lua_Integer'), to 8 years ago
Roberto Ierusalimschy 2a235312f0 detail (removing spaces at end of lines) 8 years ago
Roberto Ierusalimschy 7b1fba69b7 using 'lastfree == NULL' to signal that table is using the dummy 8 years ago
Roberto Ierusalimschy 46de77b219 bug: despite its name, 'luaH_getstr' did not work for strings in 9 years ago
Roberto Ierusalimschy 3a15c7ce43 size for array part of a table ('sizearray') changed from 'int' to 10 years ago
Roberto Ierusalimschy 07c7fdb9df simpler definition for 'setobj' (trust the compiler for the assignment) 10 years ago
Roberto Ierusalimschy 8ef9e8460e bug (GC can collect long identifier during parser) + change (using 11 years ago
Roberto Ierusalimschy d4e6b75098 "integer" keys in tables are now lua_Integer, not 'int'. 12 years ago
Roberto Ierusalimschy 89b59eee73 bug: __newindex metamethod may not work if metatable is its own 13 years ago
Roberto Ierusalimschy 92afcf2823 no more 'luaH_setstr (used only once) + 'luaH_setint' receives value 13 years ago
Roberto Ierusalimschy d9ea6eca7c macro 'key2tal' replaced by 'gkey' (as both were equal) 15 years ago
Roberto Ierusalimschy fbf866a1a5 macro 'gkey' returns a "real" TValue* 15 years ago
Roberto Ierusalimschy 3135a6bbab luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, 15 years ago
Roberto Ierusalimschy 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) 19 years ago
Roberto Ierusalimschy f8b7a5581e avoid unnecessary exports 19 years ago
Roberto Ierusalimschy ffb798e1e2 avoids type punning for table keys 19 years ago
Roberto Ierusalimschy d987cf1f81 new mark LUAI_DATA for extern data 20 years ago
Roberto Ierusalimschy 8718fda9b2 added LUAI_FUNC to functions not in the API 20 years ago
Roberto Ierusalimschy 9ffae705ee new "primitive" getn 20 years ago
Roberto Ierusalimschy e2498e079e change in hash algorithm so that it does not need empty slot 20 years ago
Roberto Ierusalimschy 65726f3e2e cleaner interface to `ltable' 20 years ago
Roberto Ierusalimschy bd38017ddf small optimization for table size in machines with double allignment 20 years ago
Roberto Ierusalimschy 4c5d7b2ddd small optimization for {f()} 21 years ago
Roberto Ierusalimschy 47fc57a252 `TObject' renamed to `TValue' + other name changes and better assertions 21 years ago
Roberto Ierusalimschy b114142799 new auxiliary function `luaH_setstr' 22 years ago
Roberto Ierusalimschy ab9e062928 name changes to avoid name collision between macros and variables 22 years ago
Roberto Ierusalimschy 81e142fc14 detail (`key' is always on stack) 22 years ago
Roberto Ierusalimschy 46c471d7e9 new `__newindex' eventfield 23 years ago
Roberto Ierusalimschy 71c716e5a8 avoid C identifiers beginning with '_' 23 years ago
Roberto Ierusalimschy 57fb51f975 `luaH_next' works like `next' 23 years ago
Roberto Ierusalimschy 592a309177 tag system replaced by event tables 23 years ago
Roberto Ierusalimschy fca0a12e23 avoid clashing names between macros and fields 23 years ago
Roberto Ierusalimschy 21aa7e55f2 optimization for array part of a Table 23 years ago
Roberto Ierusalimschy e1d072571e better syntax for type casts 24 years ago
Roberto Ierusalimschy 8c8ad5f3ff better locality of assignment of table values 24 years ago
Roberto Ierusalimschy 654b16e83a better performance for table operations (mainly for integer indices) 24 years ago
Roberto Ierusalimschy 37f3a1c045 too much optimization to "break" keys in tables; keep them as TObjects... 24 years ago
Roberto Ierusalimschy 1f9e3731d1 back to the basics (well-behaved variant record...) 24 years ago
Roberto Ierusalimschy 6b71a9cfe5 smaller tables for machines with 8-bit alignment 24 years ago
Roberto Ierusalimschy caf01b5bfa better implementation for list "for" 24 years ago
Roberto Ierusalimschy ac390020e9 optimizations based on all types but number and nil are pointers 24 years ago
Roberto Ierusalimschy 7959f3aebb easier way to erase 'dead' keys 24 years ago
Roberto Ierusalimschy dabb19fc17 specialized versions for luaH_set (numbers and strings) 24 years ago
Roberto Ierusalimschy 4894c27962 lua_Number defined in lua.h (1st version) 24 years ago
Roberto Ierusalimschy 96253ed8ce better support for 64-bit machines (avoid excessive use of longs) 24 years ago