summaryrefslogtreecommitdiff
path: root/benchmark/bm_hash_shift.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_hash_shift.rb')
-rw-r--r--benchmark/bm_hash_shift.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/benchmark/bm_hash_shift.rb b/benchmark/bm_hash_shift.rb
deleted file mode 100644
index a645671..0000000
--- a/benchmark/bm_hash_shift.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-h = {}
-
-10000.times do |i|
- h[i] = nil
-end
-
-50000.times do
- k, v = h.shift
- h[k] = v
-end