Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route data where collected by GC unexpectedly. #1

Open
tonytonyjan opened this issue Jul 30, 2014 · 0 comments
Open

route data where collected by GC unexpectedly. #1

tonytonyjan opened this issue Jul 30, 2014 · 0 comments

Comments

@tonytonyjan
Copy link
Owner

it 'should not crash' do
  t = Rr3::Tree.new(10)
  max = 10000
  max.times{ |i| t.insert_path "/#{i}", i }
  t.compile!
  100.times{|i| path = rand(max); expect(t.match "/#{path}").to eql path }
end
@tonytonyjan tonytonyjan changed the title route data pointer were collected by GC unexpectedly. route data where collected by GC unexpectedly. Jul 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant