-
Notifications
You must be signed in to change notification settings - Fork 286
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 lazy fuel consumption #877
Conversation
This allows to efficiently use this type for fuel consumption in the executor.
Replaced by a simpler Option<&mut Fuel> type.
This new functionality is unused by the engine executor as for now.
BENCHMARKS
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #877 +/- ##
==========================================
+ Coverage 80.71% 81.08% +0.36%
==========================================
Files 256 256
Lines 22919 22907 -12
==========================================
+ Hits 18500 18573 +73
+ Misses 4419 4334 -85 ☔ View full report in Codecov by Sentry. |
As with MemoryEntity::grow this new functionality is unused as of now in the Wasmi engine executor.
@graydon This improves fuel consumption for instructions that consume an amount of fuel that cannot be determined at compilation time. For example, Methods you might want to check: |
Closes #874.