On Friday, 25 July 2025 12:00:39 British Summer Time Peter Humphrey wrote:
> On Thursday, 24 July 2025 15:41:45 British Summer Time Michael wrote:
> > On Thursday, 24 July 2025 15:36:57 British Summer Time Dale wrote:
> [...]
> 
> > > P. S.  What is LTO and should I enable something?  I already need to
> > > reboot soon for a newly rebuilt kernel.  May as well do both.
> > 
> > Come on Dale, you know how to search the Gentoo wiki.  ;-)
> 
> I once saw jargon defined as a secret language to denote membership of an
> exclusive club.
> 
> Please don't use it like that.

Of course, my apologies.  LTO in this case stands for Link Time Optimisation, 
as opposed to Whole Time Optimisation.  It refers to an inter-procedural 
optimisation performed by the compiler at link time.  I understand this to 
mean linking different compilation units together into a single module, which 
/should/ make the final executable faster to execute.  All this analysis and 
optimisation takes time making the compilation process longer, but the final 
executable swifter (hopefully).  Some software benefits more than others, e.g. 
firefox.

This is the article on the wiki:

https://wiki.gentoo.org/wiki/LTO

The section "Experiments" in this article presents a couple of real life 
comparisons:

https://johnnysswlab.com/link-time-optimizations-new-way-to-do-compiler-optimizations/

HTH.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to