From: Ted Kremenek Date: Thu, 9 Apr 2009 18:03:21 +0000 (+0000) Subject: Minor cleanups. Added a blurb about the advantages of fast PTH file generation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07f08d25efe448e4fa8f3134bf9fe69e50907ed4;p=clang Minor cleanups. Added a blurb about the advantages of fast PTH file generation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68716 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/PTHInternals.html b/docs/PTHInternals.html index 955699d9d4..3f0927338f 100644 --- a/docs/PTHInternals.html +++ b/docs/PTHInternals.html @@ -131,11 +131,12 @@ of header files. The current implementation of PCH in Clang as pretokenized header files was motivated by the following factors:

Despite these strengths, PTH's simple design suffers some algorithmic @@ -188,11 +195,11 @@ strengths via the use of copy-on-write pages, the approach itself can fundamentally dominate at an algorithmic level, especially when one considers header files of arbitrary size.

-

Consequently, as alluded earlier, there are plans to potentially implement an -alternative PCH implementation for Clang based on the lazy deserialization of -ASTs. This approach would theoretically have the same constant-time algorithmic -advantages just mentioned but would also retain some of the strengths of PTH -such as reduced memory pressure (ideal for multi-core builds).

+

There are plans to potentially implement an complementary PCH implementation +for Clang based on the lazy deserialization of ASTs. This approach would +theoretically have the same constant-time algorithmic advantages just mentioned +but would also retain some of the strengths of PTH such as reduced memory +pressure (ideal for multi-core builds).

Internal PTH Optimizations