lua-users home
lua-l archive

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


Hi,
      I was just comparing Lua 5.2 and 5.3 on their memory usage by executing:

> lua -e "print(collectgarbage 'count')"

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? 

Thanks,
Milind


On Tue, Dec 16, 2014 at 9:29 AM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
Lua 5.3.0 (rc1) is now available for testing at
        http://www.lua.org/work/lua-5.3.0-rc1.tar.gz

MD5     5d2c644796eb3bd3ca1c5d43d9891528  -
SHA1    fef32825392283c7561be61ae4c6af33ca7dacc1  -

This is a release candidate for the final release of Lua 5.3.0.

A few things have changed since beta that we'd like to test in the wild.
In particular, we made some changes in luaconf.h and in the Makefile
that we'd like to test. Please try compiling the current code in as many
platforms as possible. We expect the compilation will go smoothly as usual
but please report any warnings or other glitches.

We'd also like feedback on the documentation:
        http://www.lua.org/work/doc/readme.html
        http://www.lua.org/work/doc/contents.html
        http://www.lua.org/work/doc/manual.html

Finally, for those of you into this, please test luac -l -l on your
scripts, just to make sure we haven't missed anything with the new
VM instructions etc.

The main change in Lua 5.3.0 is the introduction of integers. See also
        http://www.lua.org/work/doc/#changes

The complete diffs are available at
        http://www.lua.org/work/diffs-lua-5.3.0-rc0-rc1.txt

An updated test suite is available at
        http://www.lua.org/work/lua-5.3.0-rc1-tests.tar.gz

All feedback welcome. Thanks.
--lhf