This PR greatly reduces the number of calls to CString::new and adds a basic example.
Running cargo rustc --release --example basic -- --emit=asm on this example now gives the following assembly (reorganized by me to follow jumps) which is very satisfying:
This PR greatly reduces the number of calls to
CString::new
and adds a basic example.Running
cargo rustc --release --example basic -- --emit=asm
on this example now gives the following assembly (reorganized by me to follow jumps) which is very satisfying: