Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | tiny code refactoring in 'luaS_hash' | Roberto Ierusalimschy | 2015-11-23 | 1 | -4/+3 |
| | |||||
* | new function 'luaS_hashlongstr' | Roberto Ierusalimschy | 2015-11-03 | 1 | -1/+11 |
| | |||||
* | detail (added assertion) | Roberto Ierusalimschy | 2015-10-08 | 1 | -1/+2 |
| | |||||
* | code for string cache generalized for "associative sets" (compiler | Roberto Ierusalimschy | 2015-09-22 | 1 | -16/+22 |
| | | | | will optimize away or inline the extra loops) | ||||
* | macros 'getaddrstr' and 'getstr' unified (they do the same thing) | Roberto Ierusalimschy | 2015-09-17 | 1 | -4/+4 |
| | |||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -7/+13 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | detail (i + 1 > exp is simply i >= exp) | Roberto Ierusalimschy | 2015-06-18 | 1 | -2/+2 |
| | |||||
* | 'strcache' elements as arrays of 1 element hints that cache can | Roberto Ierusalimschy | 2015-06-01 | 1 | -9/+9 |
| | | | | be n-way (instead of direct mapped) | ||||
* | 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which | Roberto Ierusalimschy | 2015-03-25 | 1 | -1/+14 |
| | | | | keeps all code related to this cache) | ||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 1 | -3/+31 |
| | |||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -12/+15 |
| | | | | of struct 'TString' | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-21 | 1 | -3/+3 |
| | | | | (no need to convert to 'GCObject') | ||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -5/+5 |
| | | | | used only for aligning purposes now) | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -22/+22 |
| | | | | (union used only for size purposes) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -3/+3 |
| | | | | problems detected by this check) | ||||
* | use appropriate macros to convert GCObject to specific types | Roberto Ierusalimschy | 2014-06-18 | 1 | -3/+7 |
| | |||||
* | LUAI_FUNC is being used only in header files | Roberto Ierusalimschy | 2014-04-02 | 1 | -2/+2 |
| | |||||
* | removed function 'luaS_eqstr' (not used anywhere) | Roberto Ierusalimschy | 2014-03-19 | 1 | -10/+1 |
| | |||||
* | userdata can have any Lua value as uservalue | Roberto Ierusalimschy | 2014-02-19 | 1 | -3/+3 |
| | |||||
* | check for shrinking string table done only at the end of a GC cycle | Roberto Ierusalimschy | 2013-09-11 | 1 | -3/+1 |
| | |||||
* | 'luaC_newobj' does not handle special cases; only special case | Roberto Ierusalimschy | 2013-09-11 | 1 | -3/+3 |
| | | | | now is threads, which do not use 'luaC_newobj' anymore. | ||||
* | back to open hashing for the string table (but with a different | Roberto Ierusalimschy | 2013-09-05 | 1 | -78/+43 |
| | | | | | 'hnext' field, to strings are still collected like all other objects) | ||||
* | tables and userdata all go to local list, too | Roberto Ierusalimschy | 2013-08-28 | 1 | -2/+2 |
| | |||||
* | LOCALBLACK changed to LOCALMARK and used also to control whether object | Roberto Ierusalimschy | 2013-08-27 | 1 | -3/+3 |
| | | | | | is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list | ||||
* | C functions and strings now go to the local list; first version | Roberto Ierusalimschy | 2013-08-23 | 1 | -2/+2 |
| | | | | of the local collector | ||||
* | some details over new implementation of string table | Roberto Ierusalimschy | 2013-08-22 | 1 | -16/+18 |
| | |||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 1 | -52/+88 |
| | | | | strings live in 'normal' GC lists | ||||
* | no more generational collection !!! | Roberto Ierusalimschy | 2013-08-05 | 1 | -2/+1 |
| | |||||
* | new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible | Roberto Ierusalimschy | 2013-06-19 | 1 | -3/+3 |
| | | | | from Lua; these must fit in a lua_Integer | ||||
* | detail | Roberto Ierusalimschy | 2013-01-08 | 1 | -2/+2 |
| | |||||
* | cast to avoid warning in some compilers (size_t x unsigned int) | Roberto Ierusalimschy | 2012-10-02 | 1 | -2/+2 |
| | |||||
* | definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important) | Roberto Ierusalimschy | 2012-05-11 | 1 | -12/+1 |
| | |||||
* | string hash may not use all bytes (but this is configurable now) + | Roberto Ierusalimschy | 2012-03-28 | 1 | -5/+28 |
| | | | | small other changes | ||||
* | random seed used in the hash of all strings to avoid intentional | Roberto Ierusalimschy | 2012-02-01 | 1 | -6/+7 |
| | | | | collisions | ||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 1 | -19/+77 |
| | |||||
* | field 'reserved' -> 'extra' (may be used for other purposes too) | Roberto Ierusalimschy | 2012-01-23 | 1 | -2/+2 |
| | |||||
* | more complete (and hopefuly more correct) handling of 'sizeof(char)' | Roberto Ierusalimschy | 2011-05-03 | 1 | -3/+4 |
| | |||||
* | corrected some places where an old object could end up in front | Roberto Ierusalimschy | 2010-05-10 | 1 | -1/+2 |
| | | | | of a new one + minimal documentation about this problem | ||||
* | 'luaS_new' changed from macro to function | Roberto Ierusalimschy | 2010-04-03 | 1 | -1/+6 |
| | |||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-17 | 1 | -9/+7 |
| | | | | when 'ptr' is NULL. | ||||
* | better to keep GC state numbers sequential, to optimize switch in | Roberto Ierusalimschy | 2009-12-11 | 1 | -2/+2 |
| | | | | 'singlestep' | ||||
* | new function 'luaC_runtilstate' to advance GC until a "valid" state | Roberto Ierusalimschy | 2009-12-11 | 1 | -3/+3 |
| | |||||
* | hash table for strings is rehashed in place | Roberto Ierusalimschy | 2009-04-29 | 1 | -16/+18 |
| | |||||
* | 'luaM_freearray' does not need array type as argument | Roberto Ierusalimschy | 2009-04-17 | 1 | -2/+2 |
| | |||||
* | userdata with finalizers are kept in a separated list | Roberto Ierusalimschy | 2008-02-19 | 1 | -9/+5 |
| | |||||
* | detail | Roberto Ierusalimschy | 2007-11-09 | 1 | -2/+3 |
| | |||||
* | emergency garbage collector (core forces a GC when allocation fails) | Roberto Ierusalimschy | 2006-07-11 | 1 | -5/+4 |
| | |||||
* | small changes in casts | Roberto Ierusalimschy | 2005-12-22 | 1 | -2/+2 |
| |