lua-users home
lua-l archive

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


Thanks for information!

From: Joshua Jensen <josh.jjensen@gmail.com>
Sent: Tuesday, October 6, 2020 4:08 PM
To: lua-l@lists.lua.org <lua-l@lists.lua.org>
Subject: Re: I need some help on some ideas
 
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'.

-Josh


Doug Currie wrote on 10/6/2020 9:22 AM:
On Oct 6, 2020 at 11:00:18 AM, 逸霖 杨 <yyl_20050115@hotmail.com> 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 https://github.com/zenkj/luarc-5.1
Disclaimer: I have never used LuaRC-5.1

e