Note also that if you want to optimise code you can just ask it to add instrumentation with sampling and then just figure out where the bottlenecks are and fix them. And it seems to work! I have been messing around with cranelift (D bindings/wrapper coming soon but lmk if anyone wants).