Improve fn order to decrease the number of back jmps - #7720
Draft
xunilrj wants to merge 20 commits into
Draft
Conversation
Contributor
Author
Benchmark report
e2e-gas-usages
Distributione2e-bytecode-sizes
Distributionin-language-gas-usages
Distributionin-language-bytecode-sizes
Distributionfuel-o2-exports / order-book
Distributionfuel-o2-exports / trade-account
Distributionsnapshot-gas-usages
Distributionsnapshot-bytecode-sizes
DistributionCompile time (hyperfine)margin-account
order-book
|
xunilrj
marked this pull request as ready for review
August 25, 2026 14:34
ironcev
marked this pull request as draft
August 27, 2026 10:13
Member
|
@xunilrj Converting temporarily to draft until #7724 get fixed. Fixing that critical bug will affect the compilation pipeline significantly including the impact on far jumps that are now potentially miscalculated. I expect the fix not to cause a lot of merge conflicts with this PR and the major logic is anyhow an universal addition, but still it might require some adjustments to this PR. Having the critical fix landing ASAP is currently the highest priority so I am setting this PR to draft to make sure it lands after the fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Checklist
Breaking*orNew Featurelabels where relevant.