diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-09-08 12:41:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-09-08 12:41:05 -0300 |
commit | 41964648eea1427d53934b886abb68cc8457b019 (patch) | |
tree | b0388dfebe6614d5d49306193faf78f8b9e1a6a1 /lstate.h | |
parent | 502214f8a551cd01d94677f98a40aa51531ef71d (diff) | |
download | lua-41964648eea1427d53934b886abb68cc8457b019.tar.gz lua-41964648eea1427d53934b886abb68cc8457b019.tar.bz2 lua-41964648eea1427d53934b886abb68cc8457b019.zip |
long strings are created directly in final position when possible
(instead of using an auxiliar buffer to first create the string
and then allocate the final string and copy result there)
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.122 2015/06/01 16:34:37 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.123 2015/07/04 16:33:17 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -131,7 +131,6 @@ typedef struct global_State { | |||
131 | GCObject *tobefnz; /* list of userdata to be GC */ | 131 | GCObject *tobefnz; /* list of userdata to be GC */ |
132 | GCObject *fixedgc; /* list of objects not to be collected */ | 132 | GCObject *fixedgc; /* list of objects not to be collected */ |
133 | struct lua_State *twups; /* list of threads with open upvalues */ | 133 | struct lua_State *twups; /* list of threads with open upvalues */ |
134 | Mbuffer buff; /* temporary buffer for string concatenation */ | ||
135 | unsigned int gcfinnum; /* number of finalizers to call in each GC step */ | 134 | unsigned int gcfinnum; /* number of finalizers to call in each GC step */ |
136 | int gcpause; /* size of pause between successive GCs */ | 135 | int gcpause; /* size of pause between successive GCs */ |
137 | int gcstepmul; /* GC 'granularity' */ | 136 | int gcstepmul; /* GC 'granularity' */ |