This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: will LTO help python modules?


Neal Becker <ndbecker2@gmail.com> writes:

> I'm guessing LTO is not helpful to dynamically loaded modules for e.g., python.

It could be helpful.  LTO has some additional optimization power when
you pass the -fwhole-program option, which you could not do when
building a dynamically loaded module.  However, even without
-fwhole-program LTO can still do cross-file inlining and other such
optimizations.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]