flashbots / flashbots/rbuilder
Performance improve for the `step` method in `UsedStateEVMInspector` from `.\crates/rbuilder\src\building\evm_inspector.rs`
Open
- 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
Assessment
This issue has not been assessed yet.