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

ConstProp: stop pooling inline constants #4036

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

alyssarosenzweig
Copy link
Collaborator

despite conventional wisdom, the robin map is slower than emitting extra nodes.

without multiblock, shaves around 2% off node. with multiblock, a bit less than 1% but still a win.

Because we already pooled the _Constants, there's no benefit to also pooling inline constants. the robin map to do so just adds extra overhead for no benefit - drop it.

without multiblock, shaves around 2% off node. with multiblock, a bit less than
1% but still a win.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
bit of cleanup

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

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

Very fancy

@Sonicadvance1 Sonicadvance1 merged commit 5013b8a into FEX-Emu:main Sep 5, 2024
12 checks passed
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