lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Tue, Dec 16, 2014 at 5:22 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> Lua 5.2 shows a little more than 14K and Lua 5.3 shows more than 20K.
>
> That is a huge increase. What is causing that increase?

Probably the new utf8 library and the new string.pack and unpack functions.


If I do:

>lua -e "utf8=nil collectgarbage 'collect' print(collectgarbage 'count')"

Would the utf8 library be unloaded, and I should see the unloaded memory usage?