aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Precompiled-headers.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Precompiled-headers.md')
-rw-r--r--docs/markdown/Precompiled-headers.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Precompiled-headers.md b/docs/markdown/Precompiled-headers.md
index a7bcbf8..cae0bd1 100644
--- a/docs/markdown/Precompiled-headers.md
+++ b/docs/markdown/Precompiled-headers.md
@@ -1,3 +1,7 @@
+---
+short-description: Using precompiled headers to reduce compilation time
+...
+
# Precompiled headers
Parsing header files of system libraries is surprisingly expensive. A typical source file has less than one thousand lines of code. In contrast the headers of large libraries can be tens of thousands of lines. This is especially problematic with C++, where header-only libraries are common and they may contain extremely complex code. This makes them slow to compile.