Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think in theory it could, but something was definitely getting clogged in the optimizer. I'd see code like

" a = A::new(...);

return a; "

Create a on the stack, and immediately copy a into the stack region the caller was expecting it in. This seemed to get worse as struct size got larger, so I'm guessing there was so much IL the optimizer had to churn through it just gave up at some point.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: