Jarrett Billingsley wrote:
On Mon, Feb 2, 2009 at 1:27 PM, grauzone <n...@example.net> wrote:
Why not use scope to allocate the class on the stack?
For everything else, I agree with Donald Knuth (if he really said that...)

That's fine too, and would fit in with his needs to implement
interfaces.  But again, if he's worried about caching some parameters
but not worried about the overhead of virtual calls.. something's off.

You're assuming too much programming knowledge and carelessness on my part. I merely wanted to know if the second solution would be significantly slower than the first one. Caching of the parameters would be a bonus, as would caching of additional output and the ability to use interfaces.

-Lars

Reply via email to