Enable Link-Time Optimization (LTO) for lnav #1376
zamazan4ik
started this conversation in
Ideas
Replies: 1 comment
-
I've created an issue to try this out, thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I suggest enabling Link-Time Optimization (LTO) for
lnav
(-flto
option in GCC and Clang compilers). It allows to the compiler perform better optimizations that results in most cases to higher performance and smaller binaries (I found at least one mention of LTO in this repo). I am not an expert inlnav
's build scripts, to be honest but quickly checked build scripts for GitHub CI and scripts like this - as far as I understand, LTO is not enabled.I see here two options:
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions