Repository navigation
Reuse typed directory task slots with atomic completion - #1048
Merged
Merged
Conversation
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.
Replace per-directory future/callback allocations with reusable typed task records. A per-task atomic handoff improves directory-heavy Linux scans while preserving worker policy, ordered errors, traversal and early-stop draining; macOS remains near baseline.
AG;DR
docs/performance-analysis.md/TODO.md. Based on current main after Reuse budgeted native comparison cursor buffers #1047 (c14d39cf281c084f8833bc877fca6999e2f9f810). Exact measurement parentd2ff56bc444be383de44b3e3b5dd349700abac87has the same complete tree; preserve its original identity in all data.Decision evidence:
docs/benchmarks/directory-task-slots-20261102.mdand its lossless bundle retain all initial/refined/targeted populations, source patches, binary identities, fixture recipes and raw samples. The 1.4 MB compressed bundle has an exact-path large-file exception alongside the existing lossless performance reports; no general file-size rule is relaxed.Validation: