Several tweaks in the garbage collector
- back with step size in collectgarbage("step")
- adjustments in defaults for some GC parameters
- adjustments in 'luaO_codeparam'
This commit is contained in:
@@ -427,8 +427,8 @@ typedef struct TString {
|
||||
** Get string and length */
|
||||
#define getlstr(ts, len) \
|
||||
(strisshr(ts) \
|
||||
? (cast_void(len = (ts)->shrlen), rawgetshrstr(ts)) \
|
||||
: (cast_void(len = (ts)->u.lnglen), (ts)->contents))
|
||||
? (cast_void((len) = (ts)->shrlen), rawgetshrstr(ts)) \
|
||||
: (cast_void((len) = (ts)->u.lnglen), (ts)->contents))
|
||||
|
||||
/* }================================================================== */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user