lua-users home
lua-l archive

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

On 16/12/14 11:53 PM, Milind Gupta wrote:

On Tue, Dec 16, 2014 at 5:22 PM, Luiz Henrique de Figueiredo <> 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?
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.