Re: Lua vs LuaJIT, compatibility on GC behaviour for weak tables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua vs LuaJIT, compatibility on GC behaviour for weak tables
- From: Shmuel Zeigerman <shmuz@...>
- Date: 2011年2月01日 20:32:12 +0200
On 01/02/2011 19:49, Mike Pall wrote:
Your code is broken if it relies on any particular GC behavior.
There's an example of code [1] where GC in Lua 5.1 on Windows was not
able to prevent constant growth of memory consumption. BTW, LuaJIT 2.0
beta 5 also behaves that way.
[1] http://lua-users.org/lists/lua-l/2008-04/msg00007.html
--
Shmuel