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

[compiler][patch] Patch O(n^2) traversal in validatePreserveMemo #30077

Merged
merged 3 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update on "[compiler][patch] Patch O(n^2) traversal in validatePreser…
…veMemo"

Double checked by syncing internally and verifying the # of `visitInstruction` calls with unique `InstructionId`s.

This is a bit of an awkward pattern though. A cleaner alternative might be to override `visitValue` and store its results in a sidemap (instead of returning)

[ghstack-poisoned]
  • Loading branch information
mofeiZ committed Jun 25, 2024
commit eca784639c63ca3b2d67707d2e0941b3b56aa666

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.