I found that LTO for the project was enabled in this commit but later was disabled here. Unfortunately, I didn't find the reason for this decision in the commit history.
Could you please elaborate a bit more on why did you disable LTO for the project? If this is due to increased compile time and it's critical for the project, did you evaluate enabling ThinLTO instead? Or maybe LTO was just mistakenly disabled - who knows :)
According to my quick tests, adding lto = true to the Release profile reduces the binary size from 12 Mib to 10 Mib - quite a good improvement.
Hi!
I found that LTO for the project was enabled in this commit but later was disabled here. Unfortunately, I didn't find the reason for this decision in the commit history.
Could you please elaborate a bit more on why did you disable LTO for the project? If this is due to increased compile time and it's critical for the project, did you evaluate enabling ThinLTO instead? Or maybe LTO was just mistakenly disabled - who knows :)
According to my quick tests, adding
lto = true
to the Release profile reduces the binary size from 12 Mib to 10 Mib - quite a good improvement.Thank you.