gast128 | 15 Jul 14:57
Favicon

Re: Beginner design question

Hansi <hansipet <at> web.de> writes:

> 
> At the moment about 1million calls per second are the target..

I am not sure if this helps, but there are two articles on Dr Dobbs 
translating runtime polymorphism, to compile time construction. The downside 
is that it does not work in every sitaution (probably you must already know 
the class structure at compile time) and I have not tested it myself. If a 
virtual call is a bottleneck, than you have a really performance intensive 
application.

C++ Expression Templates: http://www.ddj.com/cpp/184401627
A Different Interpretation of the Interpreter Design Pattern: 
http://www.ddj.com/cpp/184401605

Gmane