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

Small optimization and typing improvements #367

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

SmileyChris
Copy link
Contributor

Really just a few typing improvements, but also has a small optimisation:
Currently every operation builds the list of allowed_methods, even though this is only used in the case that no methods match. Just build this list in the much more infrequent case of this occurring.

@vitalik vitalik merged commit 47b709b into vitalik:master Feb 21, 2022
@SmileyChris SmileyChris deleted the minor-typing-improvement branch February 23, 2022 01:15
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.

None yet

2 participants