pop-os / cosmic-edit

COSMIC Text Editor
GNU General Public License v3.0
239 stars 61 forks source link

feat: enable LTO #257

Open zamazan4ik opened 1 month ago

zamazan4ik commented 1 month ago

Hi!

I started a discussion about enabling Link-Time Optimization (LTO) across all pop!_os projects to improve their general performance (more compiler optimizations can be done with LTO) and the binary size reduction (LTO usually leads to measurable binary size improvements) here - https://github.com/pop-os/pop/discussions/3386 . In https://github.com/pop-os/pop/discussions/3386#discussioncomment-10909426 was proposed creating PRs into repos with enabling LTO - it's such a PR!

As a reference, I used the cosmic-comp Release profile.