The router relies on a tree structure which makes heavy use of common prefixes, it is basically a compact prefix tree (or just Radix tree).

https://github.com/julienschmidt/httprouter/

posted @ 2020-10-21 14:15  papering  阅读(106)  评论(0)    收藏  举报