Slow performance compared to C++, ideas?

Walter Bright newshound2 at digitalmars.com
Wed Jun 5 15:56:28 PDT 2013


On 6/5/2013 3:37 PM, Steven Schveighoffer wrote:
> No, I think it introduces a new foo.  Calling A.foo does not call B.foo.  In
> other words, it hides the original implementation, there are two vtable entries
> for foo.
>
> At least, that is how I understood the C# description from that post, and it
> seems Walter is trying to specify that.  The idea is that B probably defined foo
> before A did, and A adding foo should not break B, B didn't even know about A's
> foo.

That's right.



More information about the Digitalmars-d mailing list