2 ms·
.. that's why you compile without LTO during development and do a final 'compile with LTO > profile > fix / optimize > compile with LTO' pass. Compilation happ
by jorvi 2y ago
.. 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.
- astrange 1y agoThis 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.