Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nemothekid
· 6y ago · 0 comments
IIRC, Rust did have this optimization (or LLVM was doing it), but then there was a version bump or change in IR that disabled it and it wasn't trivial to fix.
Comments
[–]
staticassertion
6y ago
There should be an optimization pass for this, certainly, but the placement new syntax guarantees it.