Skip to content

UniqueModule::get_top: return Top member#35

Merged
grg merged 1 commit intoStanfordVLSI:masterfrom
grg:gleng/perf_2
Mar 3, 2026
Merged

UniqueModule::get_top: return Top member#35
grg merged 1 commit intoStanfordVLSI:masterfrom
grg:gleng/perf_2

Conversation

@grg
Copy link
Copy Markdown
Collaborator

@grg grg commented Mar 2, 2026

Return the Top member from UniqueModule instead of walking the hierarchy to the root every time.

For a large test program, this cut get_top execution time from ~45s to ~4.5s.

Return the Top member from UniqueModule instead of walking the hierarchy
to the root every time.

For a large test program, this cut get_top execution time from ~45s to
~4.5s.
@grg grg requested a review from steveri March 2, 2026 17:32
Copy link
Copy Markdown
Contributor

@steveri steveri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Keep up the good work :)

@grg grg merged commit 0153a9a into StanfordVLSI:master Mar 3, 2026
4 checks passed
@grg grg deleted the gleng/perf_2 branch March 3, 2026 00:21
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.

2 participants