1 2 3 4 5 6 7 8 9 10
a = '' a.instance_eval do @a = :a @b = :b @c = :c end 100000.times do a = Marshal.load(Marshal.dump(a)) end #p(a.instance_eval { @a == :a && @b == :b && @c == :c })