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

Refactors how observers are treated; they only mark leaf nodes as necessary now. #13

Merged
merged 15 commits into from
Feb 12, 2024

Conversation

wcharczuk
Copy link
Owner

The goal here is to reduce the "churn" associated with observers, and specifically not really give too much consideration to "unobserved" parts of the graph in favor of just doing a basic "does this node have children" check.

@wcharczuk
Copy link
Owner Author

A casualty of this approach, and I'm still trying to figure out why, is ParallelStabilize is basically 5x slower.

@wcharczuk wcharczuk merged commit 602b869 into main Feb 12, 2024
1 check passed
@wcharczuk wcharczuk deleted the will--refactor-observers branch February 12, 2024 06:44
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

Successfully merging this pull request may close these issues.

1 participant