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

路由器部分的建议 #2

Open
rpgmakervx opened this issue Nov 3, 2018 · 1 comment
Open

路由器部分的建议 #2

rpgmakervx opened this issue Nov 3, 2018 · 1 comment

Comments

@rpgmakervx
Copy link

路由器部分可以考虑采用字典树实现。正则的效率略比树低一点。我这里有一个实现:
https://github.com/rpgmakervx/xbuffer/tree/master/xbuffer-kernel/src/main/java/org/easyarch/xbuffer/kernel/rest/router

@cjqCN
Copy link
Owner

cjqCN commented Nov 10, 2018

嗯,谢谢提议,之前就有考虑到采用字典树,一时就忘了。后续会优化这一块!

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

2 participants