summaryrefslogtreecommitdiff
path: root/ltable.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-2/+2
| | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2.
* 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
|
* better support for 64-bit machines (avoid excessive use of longs)Roberto Ierusalimschy2000-11-241-2/+2
|
* new implementation for `next'Roberto Ierusalimschy2000-08-311-2/+2
|
* new signature for `luaH_set'Roberto Ierusalimschy2000-06-061-6/+4
|
* new auxiliar function `luaH_setstr'Roberto Ierusalimschy2000-06-051-1/+2
|
* collect dead indices in tablesRoberto Ierusalimschy2000-06-051-1/+2
|
* global variables are stored in a Lua tableRoberto Ierusalimschy2000-05-081-2/+4
|