109 Commits (43bfb60ac8add40a6099b933bc8454c11471c386)

Author SHA1 Message Date
Roberto Ierusalimschy c2361e0b61 definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important) 13 years ago
Roberto Ierusalimschy cfbe2333a4 string hash may not use all bytes (but this is configurable now) + 13 years ago
Roberto Ierusalimschy 678c1255c9 random seed used in the hash of all strings to avoid intentional 13 years ago
Roberto Ierusalimschy a4b96ce9a3 first implementation of long strings 13 years ago
Roberto Ierusalimschy 291f564485 field 'reserved' -> 'extra' (may be used for other purposes too) 13 years ago
Roberto Ierusalimschy ad2531a0ee more complete (and hopefuly more correct) handling of 'sizeof(char)' 14 years ago
Roberto Ierusalimschy 1c1a98e872 corrected some places where an old object could end up in front 15 years ago
Roberto Ierusalimschy f80ff7a336 'luaS_new' changed from macro to function 15 years ago
Roberto Ierusalimschy 0bbdddc86b allocator function receives the tag of object being allocated in 'osize' 15 years ago
Roberto Ierusalimschy 8da245bfd2 better to keep GC state numbers sequential, to optimize switch in 15 years ago
Roberto Ierusalimschy a2a2abcba4 new function 'luaC_runtilstate' to advance GC until a "valid" state 15 years ago
Roberto Ierusalimschy ea44570883 hash table for strings is rehashed in place 16 years ago
Roberto Ierusalimschy c6b442bd36 'luaM_freearray' does not need array type as argument 16 years ago
Roberto Ierusalimschy e2b366c760 userdata with finalizers are kept in a separated list 17 years ago
Roberto Ierusalimschy 62790ab15d detail 17 years ago
Roberto Ierusalimschy 3ca9af51a4 emergency garbage collector (core forces a GC when allocation fails) 19 years ago
Roberto Ierusalimschy c505f341d6 small changes in casts 19 years ago
Roberto Ierusalimschy 7d45a5f48f C functions and userdata also have environments 20 years ago
Roberto Ierusalimschy 334ba8132b cleaner way to remark open upvalues 20 years ago
Roberto Ierusalimschy 1d99a7360b details 20 years ago
Roberto Ierusalimschy 6f1ea817f5 better control over memory-size overflows 20 years ago
Roberto Ierusalimschy 32d4f304db first implementation of generational GC 20 years ago
Roberto Ierusalimschy b4cd38ba6c new scheme for configuration through `luaconf.h' 21 years ago
Roberto Ierusalimschy 47fc57a252 `TObject' renamed to `TValue' + other name changes and better assertions 21 years ago
Roberto Ierusalimschy df429f163a First version of incremental GC 21 years ago
Roberto Ierusalimschy 9db1942bac sweep of strings also incremental 21 years ago
Roberto Ierusalimschy c6eac44a94 two different white flags (to distinguish dead elements from new ones) 21 years ago
Roberto Ierusalimschy 8878554b85 single list for all collectible objects, with udata separated at the 21 years ago
Roberto Ierusalimschy af850484a9 default metatable can be NULL 21 years ago
Roberto Ierusalimschy ab7d9bfd0c cleaner code for manipulation of `marked' field 21 years ago
Roberto Ierusalimschy 572a69df78 Lua does not need all those different types... 22 years ago
Roberto Ierusalimschy 27c6b4d422 each .c file defines its own name 22 years ago
Roberto Ierusalimschy 2f91f95d94 better control over GCObjects 22 years ago
Roberto Ierusalimschy fdafd4f4a8 new structure for collectable objects, sharing a common header 23 years ago
Roberto Ierusalimschy da19c436cc cleaning the stage for generational collection 23 years ago
Roberto Ierusalimschy 237969724f support for `light' userdata + simpler support for `boxed' udata 23 years ago
Roberto Ierusalimschy 5023aaee0a reserve one more bit for GC 23 years ago
Roberto Ierusalimschy d3651c1d88 `getstr' now gives const char * 23 years ago
Roberto Ierusalimschy d6fd33e76f `eventtable' renamed to `metatable' 23 years ago
Roberto Ierusalimschy b7ae43d457 detail 23 years ago
Roberto Ierusalimschy 592a309177 tag system replaced by event tables 23 years ago
Roberto Ierusalimschy 72659a0605 no more explicit support for wide-chars; too much troble... 23 years ago
Roberto Ierusalimschy e1d072571e better syntax for type casts 24 years ago
Roberto Ierusalimschy c3d72096c4 use a table to find (and reuse) constants when parsing 24 years ago
Roberto Ierusalimschy 8e586c13fc cleaner way to ensure alignment for strings and userdata 24 years ago
Roberto Ierusalimschy ba11831d35 smaller structs for udata and for strings 24 years ago
Roberto Ierusalimschy d5b83ead90 new implementation for userdatas, without `keys' 24 years ago
Roberto Ierusalimschy dd3a63c205 new way to handle `profiles' 24 years ago
Roberto Ierusalimschy 39b7978329 first (big) step to support wide chars 24 years ago
Roberto Ierusalimschy 52ee91dd73 better encapsulation of some types 24 years ago