c9s / r3

libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
http://c9s.github.com/r3/bench.html
MIT License
813 stars 83 forks source link

feature: returned the matching node directly if enabled `match_early` argument. #121

Closed membphis closed 5 years ago

membphis commented 5 years ago

todo items:

membphis commented 5 years ago

In fact, I don't like the match_early parameter, but the new matching logic is different from the previous one. In order to remain compatible, I have to add new parameters.