Permalink
Browse files

fixed bm_lookuptable to work under MRI by setting LookupTable=Hash

  • Loading branch information...
1 parent eb28db0 commit be3ef273ef9e65c81494a5237faaaef12bb26fed @dgtized dgtized committed Oct 28, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 benchmark/rubinius/bm_lookuptable.rb
View
1 benchmark/rubinius/bm_lookuptable.rb
@@ -14,6 +14,7 @@ def make_symbol
make_string.to_sym
end
+LookupTable = Hash unless defined?(LookupTable)
table = LookupTable.new
hash = {}

0 comments on commit be3ef27

Please sign in to comment.