This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PCH, and more generally C++ parser performance


>>>>> "Zack" == Zack Weinberg <zack@wolery.cumb.org> writes:

    Zack> I don't think you should just handwave over the GC issues.

Fair 'nuff.  But I do think that there are such significant things we
can do there that it won't matter much.

    Zack> There's also all kinds of portability issues implied by your
    Zack> 'mmap in the state of the compilation'.

Oh, I know.  I know partly because I have in front of me the source to
another compiler that uses the traditional approach.  The code really
isn't that ugly -- and based on the number of platforms this code has
been used on `mmap' with the right flags (or a suitable equivalent) is
available just about everywhere that matters.

In other words, I have an existence proof that this is a reasonable
way to go. :-)

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]