[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: STACK_LIMIT in ldo.c
- From: "Mauro Vezzosi"<mvezzosi@...>
- Date: Wed, 21 Jun 2000 12:18:13 +0200
> Just a quick poll... What do people have the STACK_LIMIT in ldo.c set
> Default is 6000 with the comment /* arbitrary limit */ ... ???
I suppose that you use Lua 3.2 because 4.0 haven't this STACK_LIMIT.
I could say something wrong, but I guess that luaD_init() initialize
the stack by default for STACK_UNIT (128) object.
When luaD_checkstack() needs to increase the stack, it checks for a
huge (and possible wrong) stack size.