DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
The Design of C++ Standard Components

Breaking up large header files

The third technique we use to minimize compilation time is to break large header files into smaller header files. While this violates the one-header-file-per-component rule, it decreases the compilation time for client .c files that use only a small fraction a component's facilities. The Path(C++) component illustrates this technique.


Next topic: Executable size
Previous topic: Minimizing type conversions

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005