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

Make Universe and Interpreter static #49

Merged
merged 2 commits into from
Aug 9, 2024
Merged

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 9, 2024

This is intended to simplify the code but also to avoid unnecessary memory accesses and virtual dispatches.

It has some performance benefit:
median -4% (min. -23%, max. 25%)
https://rebench.dev/SOMpp/compare/64a86da76aaa57d8b794260bce9f8396e7ecc072..ede98d3b1d401e170e4ebe3ac6e50f31c4be2065

smarr added 2 commits August 9, 2024 12:42
Signed-off-by: Stefan Marr <[email protected]>
@smarr smarr merged commit ed7f335 into SOM-st:master Aug 9, 2024
18 checks passed
@smarr smarr deleted the static-universe branch August 9, 2024 12:58
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