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

.. that's why you compile without LTO during development and do a final 'compile with LTO > profile > fix / optimize > compile with LTO' pass.

Compilation happens once and then runs on hundreds of thousands up to billions of devices. Respect your users.



This assumes that LTO is strictly better than no-LTO, ie only gets faster, has the same optimization hotspots, and doesn't break anything.

I would recommend only doing things that fit within the 'build > text > fix' loop.




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

Search: