summaryrefslogtreecommitdiff
path: root/lstring.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 'iswhite' and related macros now can work directly on any objectRoberto Ierusalimschy2014-07-211-3/+3
| | | | (no need to convert to 'GCObject')
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-5/+5
| | | | used only for aligning purposes now)
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-22/+22
| | | | (union used only for size purposes)
* added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy2014-07-181-3/+3
| | | | problems detected by this check)
* use appropriate macros to convert GCObject to specific typesRoberto Ierusalimschy2014-06-181-3/+7
|
* LUAI_FUNC is being used only in header filesRoberto Ierusalimschy2014-04-021-2/+2
|
* removed function 'luaS_eqstr' (not used anywhere)Roberto Ierusalimschy2014-03-191-10/+1
|
* userdata can have any Lua value as uservalueRoberto Ierusalimschy2014-02-191-3/+3
|
* check for shrinking string table done only at the end of a GC cycleRoberto Ierusalimschy2013-09-111-3/+1
|
* 'luaC_newobj' does not handle special cases; only special caseRoberto Ierusalimschy2013-09-111-3/+3
| | | | now is threads, which do not use 'luaC_newobj' anymore.
* back to open hashing for the string table (but with a differentRoberto Ierusalimschy2013-09-051-78/+43
| | | | | 'hnext' field, to strings are still collected like all other objects)
* tables and userdata all go to local list, tooRoberto Ierusalimschy2013-08-281-2/+2
|
* LOCALBLACK changed to LOCALMARK and used also to control whether objectRoberto Ierusalimschy2013-08-271-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 versionRoberto Ierusalimschy2013-08-231-2/+2
| | | | of the local collector
* some details over new implementation of string tableRoberto Ierusalimschy2013-08-221-16/+18
|
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-211-52/+88
| | | | strings live in 'normal' GC lists
* no more generational collection !!!Roberto Ierusalimschy2013-08-051-2/+1
|
* new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visibleRoberto Ierusalimschy2013-06-191-3/+3
| | | | from Lua; these must fit in a lua_Integer
* detailRoberto Ierusalimschy2013-01-081-2/+2
|
* cast to avoid warning in some compilers (size_t x unsigned int)Roberto Ierusalimschy2012-10-021-2/+2
|
* definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important)Roberto Ierusalimschy2012-05-111-12/+1
|
* string hash may not use all bytes (but this is configurable now) +Roberto Ierusalimschy2012-03-281-5/+28
| | | | small other changes
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-011-6/+7
| | | | collisions
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-19/+77
|
* field 'reserved' -> 'extra' (may be used for other purposes too)Roberto Ierusalimschy2012-01-231-2/+2
|
* more complete (and hopefuly more correct) handling of 'sizeof(char)'Roberto Ierusalimschy2011-05-031-3/+4
|
* corrected some places where an old object could end up in frontRoberto Ierusalimschy2010-05-101-1/+2
| | | | of a new one + minimal documentation about this problem
* 'luaS_new' changed from macro to functionRoberto Ierusalimschy2010-04-031-1/+6
|
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-171-9/+7
| | | | when 'ptr' is NULL.
* better to keep GC state numbers sequential, to optimize switch inRoberto Ierusalimschy2009-12-111-2/+2
| | | | 'singlestep'
* new function 'luaC_runtilstate' to advance GC until a "valid" stateRoberto Ierusalimschy2009-12-111-3/+3
|
* hash table for strings is rehashed in placeRoberto Ierusalimschy2009-04-291-16/+18
|
* 'luaM_freearray' does not need array type as argumentRoberto Ierusalimschy2009-04-171-2/+2
|
* userdata with finalizers are kept in a separated listRoberto Ierusalimschy2008-02-191-9/+5
|
* detailRoberto Ierusalimschy2007-11-091-2/+3
|
* emergency garbage collector (core forces a GC when allocation fails)Roberto Ierusalimschy2006-07-111-5/+4
|
* small changes in castsRoberto Ierusalimschy2005-12-221-2/+2
|
* C functions and userdata also have environmentsRoberto Ierusalimschy2005-02-181-2/+3
|
* cleaner way to remark open upvaluesRoberto Ierusalimschy2005-01-181-4/+4
|
* detailsRoberto Ierusalimschy2004-11-241-2/+2
|
* better control over memory-size overflowsRoberto Ierusalimschy2004-11-191-3/+8
|
* first implementation of generational GCRoberto Ierusalimschy2004-08-241-8/+3
|
* new scheme for configuration through `luaconf.h'Roberto Ierusalimschy2004-04-301-1/+2
|
* `TObject' renamed to `TValue' + other name changes and better assertionsRoberto Ierusalimschy2003-12-101-5/+5
| | | | for incremental garbage collection
* First version of incremental GCRoberto Ierusalimschy2003-12-091-2/+5
|
* sweep of strings also incrementalRoberto Ierusalimschy2003-12-041-3/+6
|
* two different white flags (to distinguish dead elements from new ones)Roberto Ierusalimschy2003-12-031-3/+3
|
* single list for all collectible objects, with udata separated at theRoberto Ierusalimschy2003-12-031-3/+3
| | | | end of the list
* default metatable can be NULLRoberto Ierusalimschy2003-12-011-2/+2
|
* cleaner code for manipulation of `marked' fieldRoberto Ierusalimschy2003-11-171-2/+2
|