summaryrefslogtreecommitdiff
path: root/lstring.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-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.
* new function 'luaS_hashlongstr'Roberto Ierusalimschy2015-11-031-1/+2
|
* long strings are created directly in final position when possibleRoberto Ierusalimschy2015-09-081-1/+2
| | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there)
* 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (whichRoberto Ierusalimschy2015-03-251-1/+2
| | | | keeps all code related to this cache)
* new cache for interning stringsRoberto Ierusalimschy2015-03-041-1/+2
|
* size of short strings stored in a single byte, to reduce the sizeRoberto Ierusalimschy2015-01-161-2/+1
| | | | of struct 'TString'
* type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy2014-07-181-1/+2
| | | | used only for aligning purposes now)
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-4/+5
| | | | (union used only for size purposes)
* removed function 'luaS_eqstr' (not used anywhere)Roberto Ierusalimschy2014-03-191-2/+1
|
* userdata can have any Lua value as uservalueRoberto Ierusalimschy2014-02-191-2/+2
|
* "fixed" objects kept in a separated list (instead of being kept inRoberto Ierusalimschy2013-08-211-3/+1
| | | | 'allgc' list with a bit marking them)
* change in string table: string table is now independent of GC lists; allRoberto Ierusalimschy2013-08-211-1/+2
| | | | strings live in 'normal' GC lists
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-2/+2
|
* random seed used in the hash of all strings to avoid intentionalRoberto Ierusalimschy2012-02-011-2/+2
| | | | collisions
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-3/+6
|
* new macro 'isreserved' + 'eqstr' -> 'luaS_eqstr' (may be a function)Roberto Ierusalimschy2012-01-231-4/+10
|
* new macro 'eqstr'Roberto Ierusalimschy2010-04-051-1/+8
|
* 'luaS_new' changed from macro to functionRoberto Ierusalimschy2010-04-031-4/+2
|
* must include 'string.h' because a macro uses 'strlen'Roberto Ierusalimschy2010-03-131-1/+2
|
* added LUAI_FUNC to functions not in the APIRoberto Ierusalimschy2005-04-251-4/+4
|
* detailsRoberto Ierusalimschy2005-02-231-2/+2
|
* C functions and userdata also have environmentsRoberto Ierusalimschy2005-02-181-2/+2
|
* better control over memory-size overflowsRoberto Ierusalimschy2004-11-191-4/+3
|
* first implementation of generational GCRoberto Ierusalimschy2004-08-241-2/+1
|
* cleaner code for manipulation of `marked' fieldRoberto Ierusalimschy2003-11-171-3/+3
|
* cleaning the stage for generational collectionRoberto Ierusalimschy2002-08-161-10/+2
|
* new macro to `fix' stringsRoberto Ierusalimschy2002-04-301-1/+3
|
* no more explicit support for wide-chars; too much troble...Roberto Ierusalimschy2001-11-281-5/+5
|
* better syntax for type castsRoberto Ierusalimschy2001-08-311-4/+4
|
* cleaner way to ensure alignment for strings and userdataRoberto Ierusalimschy2001-06-151-13/+3
|
* new implementation for userdatas, without `keys'Roberto Ierusalimschy2001-06-061-6/+14
|
* first (big) step to support wide charsRoberto Ierusalimschy2001-02-231-5/+5
|
* better separation between basic typesRoberto Ierusalimschy2001-02-201-4/+6
|
* string pointers are always fully alignedRoberto Ierusalimschy2001-02-091-13/+2
|
* new semantics for pushuserdata (no more different userdatas with same value)Roberto Ierusalimschy2001-02-091-2/+2
|
* small changes in lstringRoberto Ierusalimschy2001-01-101-3/+3
|
* `free' gets size of the block: complete control over memory useRoberto Ierusalimschy2000-12-281-1/+14
|
* better support for 64-bit machines (avoid excessive use of longs)Roberto Ierusalimschy2000-11-241-3/+3
|
* subtelties in layout of TStringRoberto Ierusalimschy2000-10-301-2/+3
|
* new API function `createuserdata'Roberto Ierusalimschy2000-10-261-2/+2
|
* new way to count `nblocks' for GC (try to count bytes).Roberto Ierusalimschy2000-09-291-3/+3
|
* code cleaner for 16 bits.Roberto Ierusalimschy2000-05-241-2/+2
|
* string hash uses one single hash tableRoberto Ierusalimschy2000-05-101-7/+5
|
* global variables are stored in a Lua tableRoberto Ierusalimschy2000-05-081-5/+2
|
* some name changesRoberto Ierusalimschy2000-03-101-7/+7
|
* small optimizations.Roberto Ierusalimschy2000-03-101-2/+2
|
* many details (most by lhf).Roberto Ierusalimschy2000-03-031-3/+3
|
* luaS_newfixedstring renamed to luaS_newfixedRoberto Ierusalimschy1999-12-141-2/+2
|
* table sizes don't need to be primes; power of 2 gives the same performance.Roberto Ierusalimschy1999-11-261-2/+2
|
* first implementation of multiple states (reentrant code).Roberto Ierusalimschy1999-11-221-13/+13
|