Mail Archives: djgpp/1994/11/23/20:49:45
>A heretic thought started crawling into my mind: can it be that GCC
>indeed *does* produce slow code for C++ programs? I don't really
>work in C++, so all my experience about GCC code efficiency comes
>from C programs. What about those constructors/destructors behind
>the scenes: could it be they are much slower in G++ than they are
>in BC++? Opinions, anyone? Maybe I will re-write the program in
>pure C one of these days...
I'm not sure about speed, but I do know they're a LOT larger. Even
after strip, an iostreams "Hello, world!" program comes out much
larger than the corresponding TC++ version--so perhaps slower as well.
--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]:
GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-)
E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-)
b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?
- Raw text -