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

continuous operators should skip work on duplicates #69

Closed
leonoel opened this issue Jul 29, 2022 · 1 comment
Closed

continuous operators should skip work on duplicates #69

leonoel opened this issue Jul 29, 2022 · 1 comment

Comments

@leonoel
Copy link
Owner

leonoel commented Jul 29, 2022

When a continuous flow is sampled, if the current value is = to the previous one, it is not a change and nothing meaningful should happen.

  • latest : the combinator function should not be called if no input has actually changed, the previous result is returned instead.
  • ?< : the switch should not happen if the parent has not changed, the current child branch is kept alive and reused. cp should defer detaching until sampling and return the previous result if no branch has actually changed.
@leonoel
Copy link
Owner Author

leonoel commented Feb 13, 2023

Released in b.27

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

No branches or pull requests

1 participant