Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Details | Roberto Ierusalimschy | 2019-06-03 | 1 | -2/+2 |
| | | | | | Several small changes from feedback on 5.4 alhpa rc1 (warnings, typos in the manual, and the like) | ||||
* | 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. | ||||
* | new macros 'likely'/'unlikely' with hints for jump predictions | Roberto Ierusalimschy | 2018-05-30 | 1 | -5/+5 |
| | | | | (used only in errors for now) | ||||
* | userdata can have multiple user values | Roberto Ierusalimschy | 2018-02-20 | 1 | -5/+8 |
| | |||||
* | no more 'nfield' string | Roberto Ierusalimschy | 2018-02-15 | 1 | -8/+5 |
| | |||||
* | janitor work on casts | Roberto Ierusalimschy | 2018-01-28 | 1 | -2/+2 |
| | |||||
* | 'rehash' -> 'tablerehash' | Roberto Ierusalimschy | 2017-12-18 | 1 | -6/+6 |
| | | | | (to avoid name colisions when compiling Lua as a single file) | ||||
* | back to reallocation when resizing the string table. | Roberto Ierusalimschy | 2017-12-12 | 1 | -30/+60 |
| | | | | | (Not a good idea to explicitly allocate new memory when shrinking something.) | ||||
* | more freedom in handling memory-allocation errors (not all allocations | Roberto Ierusalimschy | 2017-12-08 | 1 | -2/+5 |
| | | | | | automatically raise an error), which allows fixing a bug when resizing a table. | ||||
* | using explicit tests for allocation overflow whenever possible | Roberto Ierusalimschy | 2017-12-07 | 1 | -2/+10 |
| | |||||
* | rehashes string table always allocating a new array instead of | Roberto Ierusalimschy | 2017-12-01 | 1 | -17/+11 |
| | | | | | reallocating old one. (Avoids problems if reallocation to a small size fails.) | ||||
* | no more reference 'memerrmsg' + new reference to "n" | Roberto Ierusalimschy | 2017-07-27 | 1 | -8/+8 |
| | | | | | | (both can be retrieved by 'luaS_newliteral' without creating anything, because they are fixed, but "n" deserves fast access while 'memerrmsg' does not) | ||||
* | 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 |
| |