-
Notifications
You must be signed in to change notification settings - Fork 301
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
Cache get_decoder_class #1834
Merged
Merged
Cache get_decoder_class #1834
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e682dd - Browse repository at this point
Copy the full SHA 9e682ddView commit details -
Change cache to lru_cache to keep compatibility with Python 3.8 (cach…
…e was added in 3.9)
Configuration menu - View commit details
-
Copy full SHA for 33749e6 - Browse repository at this point
Copy the full SHA 33749e6View commit details
Commits on May 2, 2024
-
Added note to requirements to verify we do not change scalecodec unti…
…l verifying compatibility with the monkeypatch.
Configuration menu - View commit details
-
Copy full SHA for 5a3a0a6 - Browse repository at this point
Copy the full SHA 5a3a0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cd9b6 - Browse repository at this point
Copy the full SHA d3cd9b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f6144 - Browse repository at this point
Copy the full SHA 04f6144View commit details -
get_decoder_class can take either a str or a dict. We are only able t…
…o cache hashable args, so we need to verify we're only sending strings to the cached function. This does add a bit of overhead (type checking), but is still much faster than without.
Configuration menu - View commit details
-
Copy full SHA for 8deab63 - Browse repository at this point
Copy the full SHA 8deab63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 238668e - Browse repository at this point
Copy the full SHA 238668eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05b2794 - Browse repository at this point
Copy the full SHA 05b2794View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.