Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Details | Roberto Ierusalimschy | 2023-05-15 | 1 | -2/+0 |
| | | | | | - Better comments about short strings in opcodes. - luaH_newkey made static. | ||||
* | Removed test function 'luaH_isdummy' | Roberto Ierusalimschy | 2022-10-21 | 1 | -1/+0 |
| | | | | It was not being used anywhere. | ||||
* | Changes in the API of 'luaH_set' and related functions | Roberto Ierusalimschy | 2020-12-04 | 1 | -2/+6 |
| | | | | | Functions to set values in a table (luaH_set, luaH_newkey, etc.) receive the new value, instead of returning a slot where to put the value. | ||||
* | Free bit 7 of GC 'marked' field | Roberto Ierusalimschy | 2020-08-07 | 1 | -1/+6 |
| | | | | | | | | Tables were using this bit to indicate their array sizes were real ('isrealasize'), but this bit can be useful for tests. Instead, they can use bit 7 of their 'flag' field for that purpose. (There are only six fast-access metamethods.) This 'flag' field only exists in tables, so this use does not affect other types. | ||||
* | Several details about 5.4.0 rc1 | Roberto Ierusalimschy | 2020-04-23 | 1 | -1/+1 |
| | | | | | Corrected several small details: added 'const', adjusts in tabs x spaces, removed unused #includes and #defines, misspellings, etc. | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | field 'sizearray' in struct 'Table' changed to 'alimit', which can | Roberto Ierusalimschy | 2018-06-15 | 1 | -1/+2 |
| | | | | be used as a hint for '#t' | ||||
* | no more 'luaH_emptyobject' and comparisons of addresses of global variables | Roberto Ierusalimschy | 2018-06-01 | 1 | -6/+1 |
| | | | | | (instead, use a different kind of nil to signal the fake entry returned when a key is not found in a table) | ||||
* | first version of empty entries in tables | Roberto Ierusalimschy | 2018-02-23 | 1 | -1/+6 |
| | | | | (so that, in the future, tables can contain regular nil entries) | ||||
* | in hash nodes, keys are stored in separate pieces to avoid wasting | Roberto Ierusalimschy | 2017-06-09 | 1 | -14/+4 |
| | | | | space with alignments | ||||
* | 'luaH_getn' must return 'lua_Unsigned' (or 'lua_Integer'), to | Roberto Ierusalimschy | 2017-05-19 | 1 | -2/+2 |
| | | | | | allow the boundary-search algorithm to use 'maxinteger' when it cannot find a good upper bound. | ||||
* | detail (removing spaces at end of lines) | Roberto Ierusalimschy | 2016-12-22 | 1 | -2/+2 |
| | |||||
* | using 'lastfree == NULL' to signal that table is using the dummy | Roberto Ierusalimschy | 2016-11-07 | 1 | -2/+10 |
| | | | | node for its hash part + new macro 'allocsizenode' | ||||
* | bug: despite its name, 'luaH_getstr' did not work for strings in | Roberto Ierusalimschy | 2015-11-03 | 1 | -1/+6 |
| | | | | general, but only for short strings | ||||
* | size for array part of a table ('sizearray') changed from 'int' to | Roberto Ierusalimschy | 2014-09-04 | 1 | -4/+5 |
| | | | | 'unsigned int', which allows twice as many elements in the array part | ||||
* | simpler definition for 'setobj' (trust the compiler for the assignment) | Roberto Ierusalimschy | 2014-07-29 | 1 | -2/+7 |
| | |||||
* | bug (GC can collect long identifier during parser) + change (using | Roberto Ierusalimschy | 2013-08-30 | 1 | -1/+6 |
| | | | | a single constant table for all functions in a chunk) | ||||
* | "integer" keys in tables are now lua_Integer, not 'int'. | Roberto Ierusalimschy | 2013-04-26 | 1 | -3/+4 |
| | |||||
* | bug: __newindex metamethod may not work if metatable is its own | Roberto Ierusalimschy | 2011-08-17 | 1 | -1/+4 |
| | | | | | metatable + luaV_settable does not create entry when there is a metamethod (and therefore entry is useless) | ||||
* | no more 'luaH_setstr (used only once) + 'luaH_setint' receives value | Roberto Ierusalimschy | 2011-08-09 | 1 | -3/+2 |
| | | | | to be set. | ||||
* | macro 'key2tal' replaced by 'gkey' (as both were equal) | Roberto Ierusalimschy | 2010-06-25 | 1 | -3/+1 |
| | |||||
* | macro 'gkey' returns a "real" TValue* | Roberto Ierusalimschy | 2009-11-06 | 1 | -2/+2 |
| | |||||
* | luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers, | Roberto Ierusalimschy | 2009-08-07 | 1 | -3/+3 |
| | | | | not generic numbers) | ||||
* | emergency garbage collector (core forces a GC when allocation fails) | Roberto Ierusalimschy | 2006-07-11 | 1 | -2/+3 |
| | |||||
* | avoid unnecessary exports | Roberto Ierusalimschy | 2006-01-10 | 1 | -6/+5 |
| | |||||
* | avoids type punning for table keys | Roberto Ierusalimschy | 2006-01-10 | 1 | -6/+8 |
| | |||||
* | new mark LUAI_DATA for extern data | Roberto Ierusalimschy | 2005-06-06 | 1 | -2/+2 |
| | |||||
* | added LUAI_FUNC to functions not in the API | Roberto Ierusalimschy | 2005-04-25 | 1 | -13/+13 |
| | |||||
* | new "primitive" getn | Roberto Ierusalimschy | 2005-03-16 | 1 | -1/+2 |
| | |||||
* | change in hash algorithm so that it does not need empty slot | Roberto Ierusalimschy | 2005-01-05 | 1 | -1/+3 |
| | | | | (tables can be 100% full) | ||||
* | cleaner interface to `ltable' | Roberto Ierusalimschy | 2005-01-04 | 1 | -2/+2 |
| | |||||
* | small optimization for table size in machines with double allignment | Roberto Ierusalimschy | 2004-10-06 | 1 | -1/+4 |
| | |||||
* | small optimization for {f()} | Roberto Ierusalimschy | 2004-03-26 | 1 | -1/+2 |
| | |||||
* | `TObject' renamed to `TValue' + other name changes and better assertions | Roberto Ierusalimschy | 2003-12-10 | 1 | -8/+8 |
| | | | | for incremental garbage collection | ||||
* | new auxiliary function `luaH_setstr' | Roberto Ierusalimschy | 2003-08-26 | 1 | -1/+2 |
| | |||||
* | name changes to avoid name collision between macros and variables | Roberto Ierusalimschy | 2003-03-18 | 1 | -4/+4 |
| | |||||
* | detail (`key' is always on stack) | Roberto Ierusalimschy | 2002-11-07 | 1 | -2/+2 |
| | |||||
* | new `__newindex' eventfield | Roberto Ierusalimschy | 2002-05-27 | 1 | -5/+3 |
| | |||||
* | avoid C identifiers beginning with '_' | Roberto Ierusalimschy | 2002-03-11 | 1 | -3/+3 |
| | |||||
* | `luaH_next' works like `next' | Roberto Ierusalimschy | 2002-02-14 | 1 | -2/+1 |
| | |||||
* | tag system replaced by event tables | Roberto Ierusalimschy | 2001-12-05 | 1 | -2/+1 |
| | |||||
* | avoid clashing names between macros and fields | Roberto Ierusalimschy | 2001-11-29 | 1 | -4/+4 |
| | |||||
* | optimization for array part of a Table | Roberto Ierusalimschy | 2001-10-25 | 1 | -12/+12 |
| | |||||
* | better syntax for type casts | Roberto Ierusalimschy | 2001-08-31 | 1 | -1/+1 |
| | |||||
* | better locality of assignment of table values | Roberto Ierusalimschy | 2001-08-30 | 1 | -4/+7 |
| | |||||
* | better performance for table operations (mainly for integer indices) | Roberto Ierusalimschy | 2001-07-05 | 1 | -10/+8 |
| | |||||
* | too much optimization to "break" keys in tables; keep them as TObjects... | Roberto Ierusalimschy | 2001-06-26 | 1 | -8/+2 |
| | |||||
* | back to the basics (well-behaved variant record...) | Roberto Ierusalimschy | 2001-02-02 | 1 | -3/+3 |
| | |||||
* | smaller tables for machines with 8-bit alignment | Roberto Ierusalimschy | 2001-01-29 | 1 | -8/+15 |
| | |||||
* | better implementation for list "for" | Roberto Ierusalimschy | 2001-01-29 | 1 | -2/+3 |
| |