Skip to content

Experiment - #57

Open
IntegralPilot wants to merge 22 commits into
mainfrom
ssa-experiment
Open

Experiment#57
IntegralPilot wants to merge 22 commits into
mainfrom
ssa-experiment

Conversation

@IntegralPilot

@IntegralPilot IntegralPilot commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Rewrite of OOMIR to be much cleaner and SSA, as well as much nicer layout and code for the compiler. Been working on for a while, just uploaded as it's ready to share.

The diff size is comically large because I moved a bunch of files, it's not rly that much

Current status:

  • Compile speed, depends on the crate but generally 2x-3x improvement (debug), 1.5-2x improvement (release) in my testing
  • Memory usage (max RSS) - depends heavily on the crate, can range from basically the same (+/- 0.5%) to 2.5x improvement for some (large_methods went from 2472 to 991 MB)
  • Runtime speed - currently a slight regression, this is what I need to fix before merging! SSA enables much better optimisation etc. so I think I can actually get this to an improvement

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