-
Notifications
You must be signed in to change notification settings - Fork 138
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 resource-reference tracking #2958
Conversation
…/improve-reference-tracking
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 6dfc8ee Collapsed results for better readability
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2958 +/- ##
========================================
Coverage 79.46% 79.47%
========================================
Files 332 332
Lines 79167 78980 -187
========================================
- Hits 62911 62770 -141
+ Misses 13941 13901 -40
+ Partials 2315 2309 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! 👏 🧱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
…/improve-reference-tracking
Description
Currently, in reference tracking, the mapping is kept for storageID against the referenced resource. When the resource is moved, it goes and updates the inner atree value of all such tracked resources matching the storageID. This can lead to the revival of invalidated resources.
This PR changes the bookkeeping to track the 'reference' itself (i.e: storageID against the reference) instead of the referenced value.
master
branchFiles changed
in the Github PR explorer