[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT + finalizer patch
- From: Mike Pall <mikelu-0908@...>
- Date: Mon, 10 Aug 2009 20:13:01 +0200
Thomas Harning Jr. wrote:
> Just wondering, would it be possible to inject the upcoming LuaJIT 2
> with a patch like the 'finalizer'[1] one?
Very unlikely. It's about as likely that a patch for the Lua VM
applies cleanly against the Python VM. :-)
> Certain workloads would seem to benefit from having finalizers that
> can execute on scope exit without wrapping pcall/etc.
Maybe it makes you feel better to know that pcall() is designed to
be a zero-cost operation in LJ2.
--Mike