lua-users home
lua-l archive

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


By the way, shouldn't your patch be published to
http://lua-users.org/wiki/LuaPowerPatches? I don't tknow if there are
any special requirements for a patch to be published on that page, but
I think this would make it more visible to the Lua community.

On Tue, May 13, 2008 at 10:07 AM, Bogdan Marinescu
<bogdan.marinescu@gmail.com> wrote:
> Once again, excellent work. I can't wait to test this on an embedded
>  platform, but right now my ARM board is dead for some reason. I'll try
>  with another board though.
>
>
>
>  On Tue, May 13, 2008 at 12:06 AM, Robert G. Jakabosky
>  <bobby@sharedrealm.com> wrote:
>  > Updated patch attached 'emergency_gc-5.1.3.patch'.  Fixed a bug with the
>  >  old 'arg' table used by vararg functions when "LUA_COMPAT_VARARG" is defined
>  >  in luaconf.h.
>  >
>  >
>  >  On Sunday 11, Bogdan Marinescu wrote:
>  >
>  >
>  > > > I could move the memlimit+"emergency GC on failed allocation" code into
>  >  > > the default allocator that gets replaced by the custom allocator.  This
>  >  > > way user that don't want to create their own allocator can use the
>  >  > > memlimit feature and others that want more control can replace it with
>  >  > > their own tuned allocator.  I think this might be the best option.
>  >  >
>  >  > I agree with this, I also think this is the best option.
>  >  Done.  Custom allocators replace the default allocator that implements support
>  >  for memlimit and the emergency full gc.  This will mean that the memlimit
>  >  feature will be disabled by a custom allocator.
>  >
>  >  --
>  >  Robert G. Jakabosky
>  >
>