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

Improve performance of endpoints deduplication #299

Merged
merged 2 commits into from
Dec 5, 2022

Commits on Nov 8, 2022

  1. Improve performance of endpoints deduplication

    We use a map as a set to deduplicate endpoints. Before deduplicating, 
    we can calculate the total number of the endpoints in the input
    and assume that most of those endpoints are unique. Then, we can use
    that number when initializing the map. That will improve 
    the performance, as it will help to reduce the cost of growing the map
    to accommodate all the endpoints.
    
    The benchmarks are included.
    pleshakov committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    ebaae58 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Configuration menu
    Copy the full SHA
    c110e55 View commit details
    Browse the repository at this point in the history