Skip to content

Commit

Permalink
changed all benches to use a shared hash with complex keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Remes committed Mar 9, 2011
1 parent 40727c2 commit 68369d7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions benchmark/core/hash/shared_hash.rb
@@ -0,0 +1,23 @@
$small_hash = {
[[770637937]] => 18,
[442227972, :E2WngMu6vy] => 5,
:jaWa => 0,
:E0R5HN7hX => 14,
700648627 => 6,
639030613 => 12,
348421750 => 16,
[[:qpMHyZacFmMU]] => 8,
:SlBkyplxcZ => 17,
144371495 => 1,
[596739929] => 9,
385412024 => 4,
[673910393] => 19,
471761289 => 13,
[:E7, 949213064] => 10,
:yWcqadXwyg => 3,
[[[[[:rzW63YCk8, 379991405]]]], 911063042] => 7,
344267835 => 15,
:yJjeRw => 11,
[[[:gIVP], 56874545], [[:d2G1ZCONKq, [884339273, :PA4vYV6dlOv]], [[[[:kI1pIzVGbfuJ], 701032940]], :u7H5]]] => 2,
}

0 comments on commit 68369d7

Please sign in to comment.