[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Conceptual problem with gettable tag method
- From: "Vincent Penquerc'h" <vincent@...>
- Date: Thu, 8 Jun 2000 11:33:51 +0100
> > - do I use blocks (the code in the function can get large and
> use a whole
> > pile of Lua calls)
>
> You should not use blocks in code like that. Every function called by Lua
> is automatically enclosed in a block. Usually, you need to use explicit
> blocks only when C calls Lua in a loop, because then results can
> accumulate
> and eventually the stack may fill up.
oh, good to know. I was wondering if I risked overflows, because I
didn't use blocks in such functions.
Thanks for your help
--
Lyrian