I installed the 0.2 gem (via gem install), copy paste the tree test in my editor (removed first line at the top and put the "require 'rubygems'" at the top),
Just launched it and get a segfault ... everything goes well if I dont populate the sbtree and the rbtree by commenting that lines :
rbtree { random_array.each_with_index { |x,index| rbtree[index] = x } }
splaytree { random_array.each_with_index { |x,index| splaytree[index] = x } }
I installed the 0.2 gem (via gem install), copy paste the tree test in my editor (removed first line at the top and put the "require 'rubygems'" at the top),
Just launched it and get a segfault ... everything goes well if I dont populate the sbtree and the rbtree by commenting that lines :