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

Avoid linear search to resolve resources #9509

Closed
wants to merge 1 commit into from
Closed

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 19, 2024

What do these changes do?

Avoid linear search to resolve resources

Resource had another linear search of all methods to find the method for a resource.

Are there changes in behavior for the user?

no

Is it a substantial burden for the maintainers to support this?

no

Related issue number

#2779

before
after Requests/sec: 48394.40

@bdraco
Copy link
Member Author

bdraco commented Oct 19, 2024

Improvement is within the margin of error.

All the yarl improvements help so much more

@bdraco bdraco closed this Oct 19, 2024
@bdraco bdraco deleted the resolve_linear branch October 19, 2024 01:57
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

Successfully merging this pull request may close these issues.

1 participant