summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm_symbol_block_pass.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm_symbol_block_pass.rb')
-rw-r--r--benchmark/bm_vm_symbol_block_pass.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/benchmark/bm_vm_symbol_block_pass.rb b/benchmark/bm_vm_symbol_block_pass.rb
deleted file mode 100644
index 1d43335..0000000
--- a/benchmark/bm_vm_symbol_block_pass.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-class C
- 1000.times {|i|
- eval("def i#{i};end")
- }
-end
-
-c = C.new
-m = C.instance_methods(false)
-5_000.times do
- m.each do |n|
- c.tap(&n)
- end
-end