Title :
A caching compiler for C
Author :
Koehler, Brian ; Horspool, R. Nigel
Author_Institution :
Dept. of Comput. Sci., Victoria Univ., BC, Canada
Abstract :
Breaking the source text of a contemporary C program into separate compilation units and employing aggressive selective compilation schemes can greatly reduce the amount of time spent compiling programs. However, much redundant processing still occurs when a single compilation unit is compiled repeatedly, during the repetitive edit-compile-debug cycle, for example, or when a large number of compilation units are selected for compilation. We investigate the benefits of retaining internal representations of header files for reuse in subsequent invocations of the compiler, thus speeding up compilation. Our general, transparent, adaptive approach experimentally achieves a 60% reduction in compilation time in the average repetitive case, and a 40% reduction in the average massive case
Keywords :
C language; cache storage; program compilers; C program; aggressive selective compilation; average massive case; average repetitive case; caching compiler; compilation time reduction; compilation units; edit-compile-debug cycle; header files; internal representations; redundant processing s; source tex; transparent adaptive approach; Computer science; File servers; Hardware; Programming profession;
Conference_Titel :
Communications, Computers, and Signal Processing, 1995. Proceedings., IEEE Pacific Rim Conference on
Conference_Location :
Victoria, BC
Print_ISBN :
0-7803-2553-2
DOI :
10.1109/PACRIM.1995.519428