NHacker Next
- new
- past
- show
- ask
- show
- jobs
- submit
login
Rendered at 07:00:12 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
‘Register spilling and live-range splitting for SSA-form programs’ and ‘Preference-Guided Register Assignment’
It’s much cleaner to code, since you don’t need to generate live ranges explicitly, and can break it up in two passes. Linear scan creates new inactive /active intervals, while the ssa form allocators just reuse the ssa graph. I’ve never benchmarked them back to back though.
[1]: https://rubybench.github.io
Hopefully it is no longer experimental in Ruby 4.1.