Skip to content

Conversation

@charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented Sep 8, 2024

What I did

improve the time to compute the fingerprint of a module. results in about a 30% improvement to load some cached contracts.

master:

In [3]: %timeit boa.load("tmp/token.vy", 50)
131 ms ± 3.23 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

this branch:

In [3]: %timeit boa.load("tmp/token.vy", 50)
92.6 ms ± 805 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

How I did it

use compiler_data.integrity_hash. depends vyperlang/vyper#4229.

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@socket-security
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/[email protected] environment, eval, filesystem, network, shell, unsafe +2 3.32 MB charles-cooper, fubuloubu, iamdefinitelyahuman, ...1 more

🚮 Removed packages: pypi/[email protected]

View full report↗︎

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