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]
Other format: [Raw text]

Re: Using C++ in GCC is OK


Gabriel Dos Reis wrote:
On Mon, May 31, 2010 at 11:54 AM, Jakub Jelinek <jakub@redhat.com> wrote:


Similarly if the compiler massively starts using virtual methods everywhere,
there will be slow downs caused by the increased number of harder to predict
indirect calls.

that is why reviewers will use their best judgements, in particular
to decide where
a virtual function is preferable to a huge switch, current practice,
which will generate more data than a vtable.
Reviewers are frequently busy. I bet not a lot of reviewers apply patches and play with it.

So it would be nice that people who submits such patches report changes in compile time/footprint/build time (at least I am going to ask this for parts which I review even if such changes in these parts will be not critical for whole compiler as tree or rtl infrastructure changes). Otherwise, we are in danger to get slowly degrading compiler.


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