A red/black tree impl and bench
Python Ruby
Permalink
Failed to load latest commit information.
.gitignore
README Updated results (ran on mac os x). Sep 6, 2010
bm1.py
bm1.rb
bm2.py
bm2.rb
red_black_tree.py Backoprted singleton, NilNode() -> NilNode.instance() Jan 23, 2009
red_black_tree.rb
results_bm1.txt

README

Red Black Tree benchmark for ruby && python.
Mainly to comparison different ruby implementations and python version to see how it's related to ruby (for that specific benchmark).

How to run?
some-ruby --some-options bm1.rb 100 # run bm1.rb with looping 100x times
where:
  some-ruby is you ruby (ruby, ruby1.9, rbx, jruby, maglev etc.)
  --some-options - specific options for your ruby version (ie. --server fot jruby)