public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Korn <dkorn@pixelpower.com>
To: "'dewar@gnat.com'" <dewar@gnat.com>
Cc: gcc@gcc.gnu.org
Subject: RE: Precompiled headers (or other speed ups)
Date: Wed, 10 Jan 2001 09:11:00 -0000	[thread overview]
Message-ID: <718D38CAB6E0D011B2C90060970C28A564259D@EXCHANGESERVER> (raw)

>-----Original Message-----
>From: dewar@gnat.com [ mailto:dewar@gnat.com ]

><<was posted in last August, but there is a good example of how the parser
>can dominate just about everything.  That message kicked off a very good
>discussion on precompiled headers and parsing performance in C++.
>>.
>
>This is quite surprising, depending on what parsing means, if parsing
>means just building a syntax tree from the grammar, it is amazing that
>this should take any time at all compared to other phases.

  Well, only really surprising if you assume the parsing code is well
written :-) After all, the mid/backend is mostly doing memory-memory
transforms on the trees, and that's going to run as fast as your cache
and cpu can handle.  Parsers, OTOH, have to I/O.  Badly written parsers 
might even use c stdio functions to fgetc the entire file one char at a 
time....

    cheers, 
       DaveK
-- 
The Boulder Pledge: "Under no circumstances will I ever purchase anything 
offered to me as the result of an unsolicited email message. Nor will I 
forward chain letters, petitions, mass mailings, or virus warnings to large 
numbers of others. This is my contribution to the survival of the online
community."


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

             reply	other threads:[~2001-01-10  9:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-10  9:11 David Korn [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-10 11:45 dewar
2001-01-10 10:21 dewar
2001-01-10  9:56 David Korn
2001-01-10 11:14 ` Zack Weinberg
2001-01-10 13:54   ` Neil Booth
2001-01-10 15:45     ` Zack Weinberg
2001-01-10 15:26   ` Joe Buck
2001-01-10  9:35 dewar
2001-01-10 18:53 ` Yu Xuanwei
2001-01-10  9:29 dewar
2001-01-10  9:02 Phil Edwards
2001-01-10  8:50 dewar
2001-01-09 19:52 dewar
2001-01-09 14:55 dewar
2001-01-09 15:43 ` Stan Shebs
2001-01-10 22:55   ` Toon Moene
2001-01-10  5:29 ` Andi Kleen
2001-01-10  8:32   ` Phil Edwards
2001-01-10 15:12   ` Stan Shebs
2001-01-09 11:26 dewar
2001-01-08 21:09 dewar
2001-01-09  0:33 ` Geoff Keating
2001-01-08 20:41 dewar
2001-01-09  3:01 ` Rob Taylor
2001-01-09 10:04 ` amep
2001-01-09 14:36 ` Stan Shebs
     [not found] <978997896.4164.ezmlm@gcc.gnu.org>
2001-01-08 19:45 ` amep
2001-01-08 21:00   ` Geoff Keating
2001-01-09  0:41     ` Adrien Hernot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=718D38CAB6E0D011B2C90060970C28A564259D@EXCHANGESERVER \
    --to=dkorn@pixelpower.com \
    --cc=dewar@gnat.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).