-
Notifications
You must be signed in to change notification settings - Fork 301
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
Implement cache for DelegateParameter to mirror cache of the source parameter #1827
Implement cache for DelegateParameter to mirror cache of the source parameter #1827
Conversation
12bf444
to
668a511
Compare
@Dominik-Vogel could you please rebase this PR on top of #1832 ? |
3b4631f
to
3212aac
Compare
done |
3212aac
to
df3daf4
Compare
(Rebased onto wrong branch, really sorry, I lost the overview over all the different cache PRs) |
... to make sense
ideally common interface should be factored out
eb19a6d
to
1dbe501
Compare
Codecov Report
@@ Coverage Diff @@
## master #1827 +/- ##
==========================================
+ Coverage 70.28% 70.31% +0.03%
==========================================
Files 148 148
Lines 18621 18648 +27
==========================================
+ Hits 13087 13113 +26
- Misses 5534 5535 +1 |
@Dominik-Vogel I merged the master with the |
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.
I think this is good to go. @Dominik-Vogel please also confirm.
This PR implements cache of
DelegateParameter
to exactly mirror the cache of the source parameter. Depends on #1832.For now, some dirty stuff with respect to accessing
_value
of cache is needed, but this wouldn't be necessary whensnapshot_base
improvements will be worked on in #1833.Fixes #1782.