🔗 HTTP router based on radix trees.
Find a file
2023-07-09 17:46:17 +02:00
testdata Added tests and benchmarks 2023-07-09 17:46:17 +02:00
.editorconfig Added tests and benchmarks 2023-07-09 17:46:17 +02:00
.gitignore Added tests and benchmarks 2023-07-09 17:46:17 +02:00
Benchmarks_test.go Added tests and benchmarks 2023-07-09 17:46:17 +02:00
go.mod Added tests and benchmarks 2023-07-09 17:46:17 +02:00
go.sum Added tests and benchmarks 2023-07-09 17:46:17 +02:00
LICENSE Added basic routing 2023-07-09 12:42:33 +02:00
Parameter.go Added tests and benchmarks 2023-07-09 17:46:17 +02:00
README.md Added tests and benchmarks 2023-07-09 17:46:17 +02:00
Tree.go Added tests and benchmarks 2023-07-09 17:46:17 +02:00
Tree_test.go Added tests and benchmarks 2023-07-09 17:46:17 +02:00
treeNode.go Added basic routing 2023-07-09 12:42:33 +02:00

router

HTTP router based on radix trees.

Benchmarks

Loading and requesting every single route in github.txt:

BenchmarkLookup-12           	   50715	     23207 ns/op	   11649 B/op	     204 allocs/op
BenchmarkLookupNoAlloc-12    	  148033	      7993 ns/op	       0 B/op	       0 allocs/op