>>>>> Larry Evans <cppljev...@suddenlink.net>:

> claims that switch statements are faster than virtual function calls.

That's not really interesting, is it?  The overhead and downsides of
virtual functions are well known.

The upside is the possibility to use polymorphism to make frameworks.
All kinds of pluggable frameworks.

And as polymorphism goes, virtual functions are pretty cheap.

Reply via email to