首页 | 本学科首页   官方微博 | 高级检索  
     


An implementation of precompiled headers
Authors:Andy Litman
Abstract:Compilation time can be improved by precompiling interfaces so that the compiler can avoid processing unreferenced declarations. However, in C-based languages precompiling a header is difficult because a header can have several meanings depending on the context in which it is included. We present an ad hoc solution to this problem, and give the results of our precompilation strategy, which improved compile times by 25 to 65 per cent over compilation without precompiled headers.
Keywords:Precompiled header  Compilation time  Preprocessor  Conditional compilation
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号