{
  "id": "enwiki-001308752067",
  "slug": "precompiled-header",
  "title": "Precompiled header",
  "qid": "",
  "lead": "In computer programming, a precompiled header (PCH) is a (C or C++) header file that is compiled into an intermediate form that is faster to process for the compiler. Usage of precompiled headers may significantly reduce compilation time, especially when applied to large header files, header files that include many other header files, or header files that are included in many translation units. The ideas of precompiled headers were central to the development of C++ modules.",
  "body": "In computer programming, a precompiled header (PCH) is a (C or C++) header file that is compiled into an intermediate form that is faster to process for the compiler. Usage of precompiled headers may significantly reduce compilation time, especially when applied to large header files, header files that include many other header files, or header files that are included in many translation units. The ideas of precompiled headers were central to the development of C++ modules. //header.hpp ... //source.cpp include \"header.hpp\" ... When compiling source.cpp for the first time with the precompiled header feature turned on, the compiler will generate a precompiled header, header.pch . The next time, if the timestamp of this header did not change, the compiler can skip the compilation phase relating to header.hpp and instead use header.pch directly.",
  "categories": [
    "100997943",
    "11060667",
    "20416984",
    "22922474",
    "22948637",
    "22954940",
    "23603337",
    "24043274",
    "24745122",
    "25525295",
    "25525297",
    "26220375",
    "26725715",
    "26748027",
    "31336201"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1308752067",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1756620838.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001308752067",
    "type": "webpage",
    "title": "Precompiled header",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/precompiled-header",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001308752067",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1308752067",
    "note": "Immutable snapshot enwiki-001308752067"
  }
}