[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Freeing Lua scripts
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 26 Jun 2003 11:30:24 -0300
>Is it true that after executing Lua scripts, being them plain source code or
>pre-compiled chunks, with lua_load and lua_pcall I call release the memory
>used to hold them? I believe so, but I want to make sure I can do that.
You mean, Lua scripts stored in memory? If so, you can release them right
after you load them. The strings holding the scripts are not needed when the
chunks are executed.
--lhf