This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Comparative performance of C(gcc) and C++(g++)
- From: Ivan Vieira Velho <velhaco2000 at yahoo dot com dot br>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 30 Jan 2003 12:23:44 -0300 (ART)
- Subject: Re: Comparative performance of C(gcc) and C++(g++)
Thanks for every one,
I'm close to conclude these questions. There's a point that occurs me:
- The dereference between classes in C++ is slower than the function
calling but the reference of class member inside the class is faster
than
a function call.
I conclude that if your programm is small in a certain number of lines
and files , the using C is better than the use C++, however if your
programm increases in lines and files and you can create a group of
intensive called in a space of time functions, a C++ programm (with the
cares
written in this list) could faster than a C programm.
_______________________________________________________________________
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/