lua-users home
lua-l archive

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

LuaPlus' LUA_REFCOUNT implementation for Lua 5.1 exists at [1]. I removed it years ago in the next commit, but it is there for reference.

It shipped in a number of commercial products using the reference counting implementation [2].

There are discussions within the Lua mailing list archives about its performance and memory improvements, but you would have to search them out using 'luarc'.



Doug Currie wrote on 10/6/2020 9:22 AM:
On Oct 6, 2020 at 11:00:18 AM, 逸霖 杨 <> wrote:

I need help to get a better understanding on where to apply reference counting (where to increase reference count and where to decrease reference count).

You may find some hints and inspiration from
Disclaimer: I have never used LuaRC-5.1