Skip to content

[scheduling] Optimize AddCycleConstraints when re-applying scheduling - #4703

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_958361823
Draft

[scheduling] Optimize AddCycleConstraints when re-applying scheduling#4703
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_958361823

Conversation

@copybara-service

Copy link
Copy Markdown

[scheduling] Optimize AddCycleConstraints when re-applying scheduling

When trying to preserve an existing schedule, we previously did a quadratic-complexity scan for existing or contradictory constraints; we now just populate a hash map for linear-time lookup.

When trying to preserve an existing schedule, we previously did a quadratic-complexity scan for existing or contradictory constraints; we now just populate a hash map for linear-time lookup.

PiperOrigin-RevId: 958361823
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