ruby/benchmark/vm_ivar_of_class.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 строки
229 B
YAML
Исходник Обычный вид История

prelude: |
class C
@a = 1
def self.a
_a = @a; _a = @a; _a = @a; _a = @a; _a = @a;
_a = @a; _a = @a; _a = @a; _a = @a; _a = @a;
end
end
benchmark:
vm_ivar_of_class: |
a = C.a
loop_count: 30000000