-
Notifications
You must be signed in to change notification settings - Fork 414
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
Drop remaining references to visibility in Memo #4542
Conversation
Signed-off-by: Andrey Mokhov <[email protected]>
Signed-off-by: Andrey Mokhov <[email protected]>
6f5492a
to
8df9345
Compare
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.
Looks good!
Signed-off-by: Andrey Mokhov <[email protected]>
21260c1
to
cd83cfe
Compare
Nice! BTW, the |
@jeremiedimino Indeed! I hesitated deleting them because I thought we might need them for debugging, but perhaps we should just get rid of them. |
Personally, I think we should get rid of them. I've found the memo stack dumps useful in the past, so |
Agreed, I also never needed that. |
Sounds good, I'll remove them then! |
As discussed in #4542, we are removing the requirement to provide [to_dyn] for outputs of memoized functions. This helps us to simplify the API and get rid of some internal complexity. Signed-off-by: Andrey Mokhov <[email protected]>
I noticed that #4540 left
create_hidden
whose name is now out of date.I initially wanted to rename it to
create_simple
but after discussing with @aalekseyev, we thought that it would be better to renameOutput.Simple
toOutput.Cutoff
andcreate_hidden
tocreate_no_cutoff
for greater clarity at call sites.While doing the renaming, I noticed that in a few places we can simplify the code by using
create_no_cutoff
instead ofcreate
, which doesn't require to pass theOutput
module, which was often created on the spot.