We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In some contexts, such as usage in modules that are meant to load super fast, importing from eth-utils becomes a little bottleneck.
In [1]: %time from eth_utils import to_checksum_address CPU times: user 175 ms, sys: 9.1 ms, total: 184 ms Wall time: 183 ms
Comparing it to Pydantic for no reason.
In [2]: %time from pydantic import BaseModel CPU times: user 54.2 ms, sys: 7.14 ms, total: 61.3 ms Wall time: 60.4 ms
I am just softly wondering if we can put forth some efforts to making this import faster.
Use-case:
--help
Workaround
Can use localized imports, but that comes with other problems
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What feature should we add?
In some contexts, such as usage in modules that are meant to load super fast, importing from eth-utils becomes a little bottleneck.
In [1]: %time from eth_utils import to_checksum_address
CPU times: user 175 ms, sys: 9.1 ms, total: 184 ms
Wall time: 183 ms
Comparing it to Pydantic for no reason.
In [2]: %time from pydantic import BaseModel
CPU times: user 54.2 ms, sys: 7.14 ms, total: 61.3 ms
Wall time: 60.4 ms
I am just softly wondering if we can put forth some efforts to making this import faster.
Use-case:
--help
and such is fast.Workaround
Can use localized imports, but that comes with other problems
The text was updated successfully, but these errors were encountered: