flashbots / flashbots/rbuilder

Performance improve for the `step` method in `UsedStateEVMInspector` from `.\crates/rbuilder\src\building\evm_inspector.rs`

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
567
Forks
209
PR merge metrics
No merged PRs in 30d

Description

I just think in the `step` method of the `UsedStateEVMInspector` class, performance can be improved by caching stack values instead of repeatedly calling `interpreter.stack.peek()`, which may reduce execution overhead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.