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

http: speed up checkIsHttpToken #4790

Closed
wants to merge 1 commit into from

Commits on Mar 22, 2016

  1. http: speed up checkIsHttpToken

    The Regex implementation is not faster than ascii code compare.
    
    the field name is shorter, the speed is faster.
    
    benchmark result here:
    
    https://bitbucket.org/snippets/JacksonTian/Rnbad/benchmark-result
    JacksonTian committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    e7246d1 View commit details
    Browse the repository at this point in the history