Skip to content
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

refactor: drop [~distribute] in [is_useful_to] #9058

Merged

Conversation

rgrinberg
Copy link
Member

Signed-off-by: Rudi Grinberg [email protected]

Signed-off-by: Rudi Grinberg <[email protected]>

<!-- ps-id: a0dc1769-e4aa-4de3-ad9d-e057635c7684 -->
Copy link
Collaborator

@snowleopard snowleopard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Alizter
Copy link
Collaborator

Alizter commented Oct 31, 2023

Perhaps not for this PR, but the function is_useful_to ~memoize is kind of confusing. We could probably replace the boolean value with

[ `Memoize | `Distribute ]

at no extra cost.

@rgrinberg rgrinberg merged commit 59ecf4b into main Oct 31, 2023
@rgrinberg rgrinberg deleted the ps/rr/refactor__drop___distribute__in__is_useful_to_ branch October 31, 2023 23:45
@snowleopard
Copy link
Collaborator

Perhaps not for this PR, but the function is_useful_to ~memoize is kind of confusing.

Agreed. I think we should just split it in two separate functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants