You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From when we were discussing this on HN, the router can actually use a DFA based approach such that url lookups are constant time n where n is the length of the url. http://www.colm.net/open-source/ragel/
Otherwise the current approach for routes with regexes means that we need to make an O(n) pass through all of the routes.
The text was updated successfully, but these errors were encountered:
From when we were discussing this on HN, the router can actually use a DFA based approach such that url lookups are constant time
n
wheren
is the length of the url. http://www.colm.net/open-source/ragel/Otherwise the current approach for routes with regexes means that we need to make an O(n) pass through all of the routes.
The text was updated successfully, but these errors were encountered: