another test with a sudoku resolver :

> mrbc sudoku.rb && ruby sudoku.rb && jruby sudoku.rb && mruby -b sudoku.mrb

duration 6.37931 secs, 0.637931 ms by resolution
duration 13.161 secs, 1.3161 ms by resolution
duration 27.4534860 secs, 2.74534860 ms by resolution

code : https://gist.github.com/raubarede/9120207

====
adaptations for mruby:
*  int/int ==> float in mruby , so convert (a/b) by (a/b).floor
*  here docs / DATA not implemented in mruby

original sudokutest is modified for doing backtracking

-- 
Posted via http://www.ruby-forum.com/.