several configuration options that do not change often moved out of
luaconf.h and into more internal files
This commit is contained in:
11
lstate.c
11
lstate.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lstate.c,v 2.65 2009/12/14 15:27:30 roberto Exp roberto $
|
||||
** $Id: lstate.c,v 2.66 2009/12/16 16:42:58 roberto Exp roberto $
|
||||
** Global State
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -25,6 +25,15 @@
|
||||
#include "ltm.h"
|
||||
|
||||
|
||||
#if !defined(LUAI_GCPAUSE)
|
||||
#define LUAI_GCPAUSE 162 /* 162% (wait memory to double before next GC) */
|
||||
#endif
|
||||
|
||||
#if !defined(LUAI_GCMUL)
|
||||
#define LUAI_GCMUL 200 /* GC runs 'twice the speed' of memory allocation */
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
** thread state + extra space
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user