On 4/26/07, MenTaLguY <[EMAIL PROTECTED]> wrote:
If I were to write one, could a patch adding support for Object#instance_exec 
make it in for 1.0?

It's one of those things that everyone keeps re-implementing themselves, but 
only inefficiently [and usually without thread-safety] as it requires support 
from the implementation (or at least native code) to do right.

Since most of the ad-hoc implementations will defer to an existing 
implementation, it could be a correctness and (minor) performance win for JRuby.

I'd have no problems here -- but how to prevent application code from
overriding a good implementation with a faulty one -- are people
starting to write code that conditionally defines it?

/Nick

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to