This is the mail archive of the gcc-help@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: 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/


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