summaryrefslogtreecommitdiff
path: root/ltable.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Several details about 5.4.0 rc1Roberto Ierusalimschy2020-04-231-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 stringsRoberto Ierusalimschy2018-08-231-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 canRoberto Ierusalimschy2018-06-151-1/+2
| | | | be used as a hint for '#t'
* no more 'luaH_emptyobject' and comparisons of addresses of global variablesRoberto Ierusalimschy2018-06-011-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 tablesRoberto Ierusalimschy2018-02-231-1/+6
| | | | (so that, in the future, tables can contain regular nil entries)
* in hash nodes, keys are stored in separate pieces to avoid wastingRoberto Ierusalimschy2017-06-091-14/+4
| | | | space with alignments
* 'luaH_getn' must return 'lua_Unsigned' (or 'lua_Integer'), toRoberto Ierusalimschy2017-05-191-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 Ierusalimschy2016-12-221-2/+2
|
* using 'lastfree == NULL' to signal that table is using the dummyRoberto Ierusalimschy2016-11-071-2/+10
| | | | node for its hash part + new macro 'allocsizenode'
* bug: despite its name, 'luaH_getstr' did not work for strings inRoberto Ierusalimschy2015-11-031-1/+6
| | | | general, but only for short strings
* size for array part of a table ('sizearray') changed from 'int' toRoberto Ierusalimschy2014-09-041-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 Ierusalimschy2014-07-291-2/+7
|
* bug (GC can collect long identifier during parser) + change (usingRoberto Ierusalimschy2013-08-301-1/+6
| | | | a single constant table for all functions in a chunk)
* "integer" keys in tables are now lua_Integer, not 'int'.Roberto Ierusalimschy2013-04-261-3/+4
|
* bug: __newindex metamethod may not work if metatable is its ownRoberto Ierusalimschy2011-08-171-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 valueRoberto Ierusalimschy2011-08-091-3/+2
| | | | to be set.
* macro 'key2tal' replaced by 'gkey' (as both were equal)Roberto Ierusalimschy2010-06-251-3/+1
|
* macro 'gkey' returns a "real" TValue*Roberto Ierusalimschy2009-11-061-2/+2
|
* luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,Roberto Ierusalimschy2009-08-071-3/+3
| | | | not generic numbers)
* emergency garbage collector (core forces a GC when allocation fails)Roberto Ierusalimschy2006-07-111-2/+3
|
* avoid unnecessary exportsRoberto Ierusalimschy2006-01-101-6/+5
|
* avoids type punning for table keysRoberto Ierusalimschy2006-01-101-6/+8
|
* new mark LUAI_DATA for extern dataRoberto Ierusalimschy2005-06-061-2/+2
|
* added LUAI_FUNC to functions not in the APIRoberto Ierusalimschy2005-04-251-13/+13
|
* new "primitive" getnRoberto Ierusalimschy2005-03-161-1/+2
|
* change in hash algorithm so that it does not need empty slotRoberto Ierusalimschy2005-01-051-1/+3
| | | | (tables can be 100% full)
* cleaner interface to `ltable'Roberto Ierusalimschy2005-01-041-2/+2
|
* small optimization for table size in machines with double allignmentRoberto Ierusalimschy2004-10-061-1/+4
|
* small optimization for {f()}Roberto Ierusalimschy2004-03-261-1/+2
|
* `TObject' renamed to `TValue' + other name changes and better assertionsRoberto Ierusalimschy2003-12-101-8/+8
| | | | for incremental garbage collection
* new auxiliary function `luaH_setstr'Roberto Ierusalimschy2003-08-261-1/+2
|
* name changes to avoid name collision between macros and variablesRoberto Ierusalimschy2003-03-181-4/+4
|
* detail (`key' is always on stack)Roberto Ierusalimschy2002-11-071-2/+2
|
* new `__newindex' eventfieldRoberto Ierusalimschy2002-05-271-5/+3
|
* avoid C identifiers beginning with '_'Roberto Ierusalimschy2002-03-111-3/+3
|
* `luaH_next' works like `next'Roberto Ierusalimschy2002-02-141-2/+1
|
* tag system replaced by event tablesRoberto Ierusalimschy2001-12-051-2/+1
|
* avoid clashing names between macros and fieldsRoberto Ierusalimschy2001-11-291-4/+4
|
* optimization for array part of a TableRoberto Ierusalimschy2001-10-251-12/+12
|
* better syntax for type castsRoberto Ierusalimschy2001-08-311-1/+1
|
* better locality of assignment of table valuesRoberto Ierusalimschy2001-08-301-4/+7
|
* better performance for table operations (mainly for integer indices)Roberto Ierusalimschy2001-07-051-10/+8
|
* too much optimization to "break" keys in tables; keep them as TObjects...Roberto Ierusalimschy2001-06-261-8/+2
|
* back to the basics (well-behaved variant record...)Roberto Ierusalimschy2001-02-021-3/+3
|
* smaller tables for machines with 8-bit alignmentRoberto Ierusalimschy2001-01-291-8/+15
|
* better implementation for list "for"Roberto Ierusalimschy2001-01-291-2/+3
|
* optimizations based on all types but number and nil are pointersRoberto Ierusalimschy2001-01-261-5/+6
|
* easier way to erase 'dead' keysRoberto Ierusalimschy2001-01-261-2/+1
|
* specialized versions for luaH_set (numbers and strings)Roberto Ierusalimschy2001-01-101-6/+4
|
* lua_Number defined in lua.h (1st version)Roberto Ierusalimschy2000-12-041-3/+3
|