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

Optimizes normalize_headers for performance #1029

Commits on Jun 6, 2023

  1. Optimizes normalize_headers for performance

    Optimizes the `WebMock::Util::Headers.normalize_headers` method to:
    
    * Create less objects
    * Avoid using Regexp where possible
    * Hoists constants
    
    More details can be found in the related issue, including performance
    benchmarks:
    
    bblimke#1027
    Brandon Weaver committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    1249b51 View commit details
    Browse the repository at this point in the history