Comparative performance of C(gcc) and C++(g++)

Ivan Vieira Velho velhaco2000@yahoo.com.br
Thu Jan 30 15:23:00 GMT 2003


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/



More information about the Gcc-help mailing list