On 14/11/2013 23:49, Ehsan Akhgari wrote:
The advantage of this is that it speeds up the compilation (I've measured
between 6-15x speed improvement depending on the code in question
locally.)

Another advantage would be that for mostly self-contained modules we could get most of the benefits of LTO without having to recur to LTO as the compiler would have visibility over all the sources as a single compilation-unit.

In turn this would also allow us to remove a lot of inline methods that we only have in the headers for performance reasons. As it was pointed out in the "Analyze C++/compiler usage and code stats easily" this could bring significant compilation time improvements too.

 Gabriele
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to