Hi Thomas,
Thomas Arnhold píše v Út 19. 03. 2013 v 05:55 +0100:
There are some discussions about that on the Internet. Most interesting:
Some kind of benchmark comparison at
http://tinodidriksen.com/2011/08/31/cpp-include-speed/
Looks like header guards as we have them are the best solution on gcc,
but the worst for MSVC and no combination would be acceptable compared
to 'plain' header guard with gcc.
That's a good point; so I think the person doing the script should check
the build time of the entire LO with #pragma before pushing, but
otherwise I wouldn't block the change just based on the benchmark - the
benchmark might, or might not be relevant to our scenario :-)
All the best,
Kendy
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.