[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua memory saving tips
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 24 Apr 2006 09:04:32 -0300
> 72 bytes by LoadFunction > luaF_newproto
> 32 bytes by LoadString (seems to be the name of the file? in this case
> "Boot")
> 21 bytes by LoadString > luaS_newlstr (seems to be the name of the script?
> in this case also "Boot")
> 4 bytes by LoadLines
> 4 bytes by LoadCode
> 24 bytes by luaF_newLclosure
>
> Is this correct? Is there a way to suppress things like the line number,
> etc.?
You seem to be loading precompiled programs. In that case, use "luac -s"
to strip debug information.
--lhf