New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a trie for matching URLs #8

merged 2 commits into from Sep 19, 2014


None yet
1 participant

minrk commented Sep 19, 2014

avoid O(N) prefix matching

Using ab, I no longer see any performance penalty for up to a million routes.

With master, I saw an overhead of 100ms for 10k routes and ~800ms for 100k.

reissue of #7

minrk added some commits Sep 19, 2014

minrk added a commit that referenced this pull request Sep 19, 2014

Merge pull request #8 from minrk/trie
use a trie for matching URLs

@minrk minrk merged commit 0f0a80c into jupyterhub:master Sep 19, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed

@minrk minrk deleted the minrk:trie branch Sep 19, 2014

@minrk minrk referenced this pull request Sep 19, 2014


use a trie for matching URLs #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment