4 ms·
Thanks. confirmed with chatgpt, and, if you're doing debug build, you probably do not want to use -flto, otherwise it's great for release build.
by synergy20 3y ago
Thanks. confirmed with chatgpt, and, if you're doing debug build, you probably do not want to use -flto, otherwise it's great for release build.
- mgaunard 3y agoLTO is required to detect ODR errors and to do a bunch of other checks. It does more than optimize.