mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
26b2226dce
tree, but the implementation is rather different. Specifically, the routing rules are relaxed so that a single path segment may be a wildcard in one route and a static token in another. This gives a nice combination of high performance with a lot of convenience in designing the routing patterns. In benchmarks, httptreemux is close to, but slightly slower than, httprouter. WWW: https://github.com/dimfeld/httptreemux
9 lines
496 B
Plaintext
9 lines
496 B
Plaintext
This is inspired by Julien Schmidt's httprouter, in that it uses a patricia
|
|
tree, but the implementation is rather different. Specifically, the routing
|
|
rules are relaxed so that a single path segment may be a wildcard in one route
|
|
and a static token in another. This gives a nice combination of high
|
|
performance with a lot of convenience in designing the routing patterns. In
|
|
benchmarks, httptreemux is close to, but slightly slower than, httprouter.
|
|
|
|
WWW: https://github.com/dimfeld/httptreemux
|