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

Improve performance of ActivePrecompiles #22

Open
nddeluca opened this issue Apr 18, 2024 · 0 comments
Open

Improve performance of ActivePrecompiles #22

nddeluca opened this issue Apr 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nddeluca
Copy link
Member

Currently, to avoid caching active precompile addresses before they are registered, the vm.ActivePrecompiles(rules) method queries and concats all registered precompiles each time it is called. We can likely find a better method that doesn't iterate the existing registered precompiles and allocate a new slice each call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant