I've reduced the problem to the code below. Creating 1000 proxy objects in a 
loop isn't a typical use case, but it does occur when benchmarking and the 
crash report is pretty consistent each time.
Should I open a ticket for this issue?

Alan

------

class Proxy
  def initialize(delegate)
    @delegate = delegate

    @delegate.public_methods.each do |meth|
      (class << self; self; end).class_eval do
        define_method meth do |*args, &block|
          @delegate.__send__(meth, *args)
        end
      end
    end
    
  end
end

1000.times do
  hash = Proxy.new(Hash.new)
end
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to