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