router
go-succinct-data-structure-trie
router | go-succinct-data-structure-trie | |
---|---|---|
3 | 1 | |
433 | 42 | |
1.4% | - | |
6.3 | 0.0 | |
about 2 months ago | over 2 years ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
router
-
Piko router, a lightweight and blazing fast router for PHP
I found libraries in other programming languages that use this approach : matchit (Rust), find-my-way (Javascript), fasthttp (Go) But, curiously, no one in PHP. That's why I decided to bring my contribution to have the same approach in PHP.
-
Go and Trie!
You can dive deeper if you wish.
-
Have you used a trie in Go?
https://github.com/fasthttp/router for example
go-succinct-data-structure-trie
What are some alternatives?
routing - Maps an HTTP request to a set of configuration variables
trie - A Trie implementation in Go meant for auto-completion use cases. Supports Levenshtein distance search.
matchit - A high performance, zero-copy URL router.
trie - Generic prefix tree for golang
gods - GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more
ptrie - A prefix tree implementation in go
freerouting - Advanced PCB auto-router
gowww/router - ⚡️ A lightning fast HTTP router
router - A lightweight and fast router for PHP
go-patricia - A generic patricia trie (also called radix tree) implemented in Go (Golang)
Fast Route - Fast request router for PHP
gotrie - A golang reader for a in-house, modified stevehanov's succinct trie implementation (http://stevehanov.ca/blog/?id=120) serialized to uint16 instead of base64.