Mail Archives: djgpp/1997/06/02/14:39:55
On Mon, 2 Jun 1997 16:29:29 +0200 eyal DOT ben-david AT aks DOT com writes:
>I disagree on that also. Sometimes good OO design results in an even
>faster
>code.
>Think about virtual function calls vs chains of "if-else" or "switch"
>statements.
Not necessarily. It doesn't matter how concise your source code is. If
the
compiler implements virtual functions with a lot of conditional jumps,
then it
doesn't matter what you use. Of course, I don't know how compilers
implement
virtual functions, so it may be that they are faster. Anyone care to
comment?
|| fwec AT juno DOT com
|| "If you think there should be more of something, do it randomly.
Kindness
|| can be just as contagious as violence and hate."
||
|| - origin unknown
- Raw text -