Repository navigation
Conversation
The watcher sends only the beads that changed, so an answer of a freshness line alone leaves a board's read where it stood. Each answer is numbered by the change that last moved its beads, which a board compares as a fingerprint, and the beads are shared rather than copied between answers and into the board's read.
A project read only for what another project's trees reach in it draws no trees of its own, so its read assembles none. The standing read records whether it assembled them, so a project the run later reads for itself is read again.
# Conflicts: # src/collect/watched.rs
A collection that read nothing new assembled every tree waiting on another project's bead again, reading the edges of every project's answer to do it. It now keeps those trees until a read they were assembled from is replaced.
A collection that moves nothing used to work out every tree's facts again. The forest now carries a tree's facts over when the tree arrives equal to the one it answered before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A board now does less work on a watcher push that moves little or nothing, and holds less in memory, while drawing exactly what it drew before.
On the board benchmark under
bench/boards/, each board's CPU per watcher read fell to between a quarter and a half of what it was on main, and its steady memory fell by more than 40%. The runs alternated main and this branch.