Skip to content
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

router performance #14

Open
bung87 opened this issue Jun 2, 2021 · 0 comments
Open

router performance #14

bung87 opened this issue Jun 2, 2021 · 0 comments

Comments

@bung87
Copy link
Owner

bung87 commented Jun 2, 2021

https://github.com/mattaylor/whip/blob/a9fd1f04ba0167727dd0dbf9235791f708147992/whip.nim#L121-L123

    var sim = my.simple[beast.httpMethod.get()]
    var req = initWreq(beast)
    if sim.hasKey(req.uri.path): return sim[req.uri.path](req)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant