summaryrefslogtreecommitdiff
path: root/benchmark/bm_hash_aref_miss.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_hash_aref_miss.rb')
-rw-r--r--benchmark/bm_hash_aref_miss.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/benchmark/bm_hash_aref_miss.rb b/benchmark/bm_hash_aref_miss.rb
deleted file mode 100644
index b0913dd..0000000
--- a/benchmark/bm_hash_aref_miss.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-h = {}
-strs = ('a'..'z').to_a.map!(&:freeze)
-strs.each { |s| h[s] = s }
-strs = ('A'..'Z').to_a
-200_000.times { strs.each { |s| h[s] } }