Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Wednesday 20 of June 2012, Norbert Thiebaud wrote:
On Tue, Jun 19, 2012 at 7:32 AM, Lubos Lunak <l.lunak@suse.cz> wrote:
[...] PCH with
MSVC avoid the performance hit of using many -I options (adding -I for
each <module>/inc adds 25% time for whatever reason, but only without
PCH)

ahh, so that is _not_ a myth. Thanks for the data point.

 Don't forget the point that PCH negates it :). If it turns out that PCH on 
Windows is actually feasible now, I wouldn't consider that a blocker.

PS: what is the perf impact if any on GCC to use the pch include
layout (that is even the pch feature, but over-including headers)
If that overhead is not prohibitive then we could use that way of
doing include _always_... and therefore the pch layout would be
maintained 'naturally'.

 It about doubles the time for building xmloff (assuming I understood 
correctly that you meant using PCH include layout without GCC's PCH support 
activated).

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.