Repository navigation
Conversation
astral-automations-bot
Bot
force-pushed
the
zb/bughuntperf/275-lock-export-duplicate-union
branch
from
July 27, 2026 19:46
b660b4c to
79df4b3
Compare
This was referenced Sep 30, 2026
This was referenced Oct 7, 2026
Member
|
Closing as superseded by astral-sh#21485, which has been merged. |
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.
When conflict markers reach a dependency through multiple parents, lock export looks up each propagated conflict, unions its marker into a temporary value, discards that value, and immediately repeats the same union against the child map. The redundant lookup and BDD union run for every conflict on every fan-in edge.
Remove the unused union and keep the single map update, preserving the exact exported markers for conditional extras and overlapping platform paths.
Performance
A warm fan-in microbenchmark with 4,096 conflict keys, four incoming parents, and nontrivial platform-and-extra marker trees produces identical maps while reducing
MarkerTree::orcalls from 32,768 to 16,384 and eliminating 16,384 child-map lookups. This only removes duplicate propagation work; it does not change parent-map construction or cloning.