shard-radix/spec
Luis Lavena 93247cd33a Correct lookup with shared key and glob
Properly skip nodes and continue lookup when the key to be looked up
shares partial elements with others.

With the following scenario:

  tree = Radix::Tree(Symbol).new
  tree.add "/*glob", :catch_all
  tree.add "/resources", :resources
  tree.add "/robots.txt", :robots

When attempt to lookup for `/reviews`, it will now correctly return
`:catch_all` as found.

Fixes #23
2021-01-30 22:25:26 -03:00
..
radix Correct lookup with shared key and glob 2021-01-30 22:25:26 -03:00
spec_helper.cr Extraction: initial import 2016-01-24 19:19:42 -03:00