Comments (2)
A common approach many HTTP routers use would be the patricia/radix trie, but I'd encourage you to also look at the critbit trie and even ART (Adaptive Radix Trie). Both should be more efficient, since they focus on reducing the amount of work that needs to be done by the CPU to match a route, and the amount of memory used to store the routes.
from airship.
I believe this has been done using bytestring-trie
from airship.
Related Issues (20)
- Move example executable into its own cabal file HOT 3
- Add cookie-handling functions
- Ensure compilation on GHC 7.10.x HOT 1
- Add Lens' w/out depending on Lens HOT 3
- Add airship to stackage? HOT 10
- Add handler to catch exceptions within/during the decision tree HOT 7
- Vary header not set when response is negotiated HOT 2
- No wildcard support in contentTypesProvided HOT 5
- Question about Handler s m types on Resource HOT 3
- Making Airship-Trace an optional header? HOT 1
- Partial function fromJust used in Decision.hs
- Per Resource State HOT 1
- Implement Charset negotiation
- Implement Encoding negotiation
- Decision o20 set etag, expiration, etc. headers
- No good way to handle PATCH requests
- Build with cryptohash 0.11.7 HOT 1
- Build failure with GHC 8 HOT 3
- Allow wildcard Content-Type matching HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airship.