[comp.lang.c++] C to C++ efficiency

bright@Data-IO.COM (Walter Bright) (11/16/89)

In article <14033@grebyn.com> ted@grebyn.com (Ted Holden) writes:
<there appears to be no more than a 5% performance
<degradation, if that, going from C to C++, at least judging from Turbo C
<2.0 and the Zortech C++ compiler.

Compiling a C program with Zortech C++ will actually produce an *increase*
in speed and a corresponding reduction in size of about 3%. This is because
a more efficient function calling sequence can be used on C++ functions
because they are required to be fully prototyped.