FuelLabs
sway
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
improve tests
xunilrj/branch-aware-memcpy-push-down
12 hours ago
update tests
xunilrj/branch-aware-memcpy-push-down
18 hours ago
update tests
xunilrj/branch-aware-memcpy-push-down
19 hours ago
fmt issues
xunilrj/branch-aware-memcpy-push-down
20 hours ago
more tests and small bug fixes
xunilrj/branch-aware-memcpy-push-down
20 hours ago
Remove additional `DeclEngine::replace` occurrences (#7748) ## Description This PR is a continuation of #7717 and #7744. It is an another prerequisite for removals of duplicates from the `DeclEngine` and for elimination of expensive hashing. #7744 allowed removal of the `DeclEngine::replace` used in `type_check_method_application`. Additionally, the PR removes the patching of the `implementing_type` from `type_check_impl_self`. The patching was previously done as the last step by calling `replace_implementing_type` which internally created a copy of the decl obtained from the `DeclEngine` just to `replace` it with the same declaration with the `implementing_type` set. This also removes a transient dependency on `DeclEngine::replace`. Removing remaining occurrences of `DeclEngine::replace` will require adding an explicit concept of a declaration that initially reserves its id in the `DeclEngine`, and later on can get changed (the declaration) while preserving its id. The change is allowed until the declaration gets "frozen". The `DeclEngine` will ensure that such declaration cannot be used/read before it gets frozen. This will be done in a follow up PR. ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
8 days ago
Set `implementing_type` once at the beginning
ironcev/decl-engine-remove-replace
12 days ago
Fix fmt issues
ironcev/decl-engine-remove-replace
12 days ago
Latest Branches
CodSpeed Performance Gauge
+1%
Branch aware memcpy push down
#7755
12 hours ago
6737e58
xunilrj/branch-aware-memcpy-push-down
CodSpeed Performance Gauge
-21%
Remove additional `DeclEngine::replace` occurrences
#7748
12 days ago
ff9827b
ironcev/decl-engine-remove-replace
CodSpeed Performance Gauge
0%
Improve constant propagate
#7722
29 days ago
59d68fc
xunilrj/improve-constant-propagate
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs