A precompiled header is a combination of a plain header with a companion 
special file (.pch/.gch).
The companion file is generated from a source file that is designated as the 
Precompiled Header creator ('/Yc' on MSVC).

Every other source file is told to use the special file ('/Yu' on MSVC), the 
source file compilation will fail if the special file is missing.

CPython/third party runtimes will only need to ship this special file with the 
compiled code, the only downside is a burden of checking the checksum of the 
file before it's used in a compile process.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/BUTGSQ5K6QU57LOXTK3SD2MLTHS4SNEF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to