May 21, 2011
12:32 p.m.
I really like the pros that you mentioned early. Excellent work. Stef On May 21, 2011, at 2:50 AM, Igor Stasenko wrote:
Here the revised version, which more optimal. Initially i was capturing thisContext into temporary variable, which when running on Stack-based VMs leads to reifying context on heap. This can be avoided, since we can simply find this context from closure's home.
So if your code runs without errors you will pay usual price of #on:do: handler.
-- Best regards, Igor Stasenko AKA sig. <on-fork.1.cs>