lua-radix-router
lua-radix-router copied to clipboard
A lightweight high-performance and radix tree based router for Lua/LuaJIT/OpenResty https://github.com/vm-001/gateways-routing-benchmark
- declare regular expression dialect
I am trying to match the incoming request path against the swagger definition.
Summary: Try to remove the metatable. before removed: ``` RADIX_ROUTER_ROUTES=100000 RADIX_ROUTER_TIMES=10000000 luajit benchmark/simple-variable.lua ========== variable ========== routes : 100000 times : 10000000 elapsed : 1.841541 s QPS : 5430234 ns/op...
Hello and thank you for your great work on this project! I've been trying to use radix-router in my project and I think I may have found a bug. I...
```lua local Router = require "radix-router" local options = { trailing_slash_match = true, } local router = Router.new({ { paths = { "/{placeholder}/a" }, handler = "route1", }, { paths...