On Thursday, 6 March 2014 at 14:28:13 UTC, Flamaros wrote:
Ok, it's like I though final class and struct are equivalent when calling a method (except the pointer deference, but it's minor I think).

I don't think there is a real performance problem for us, it's more about to learn how to have a clean design.

They are equivalent when calling directly through class instance. When called though interface pointer, final class still results in vtable dispatch (because type system can't know stored class is final)

But if you need to inherit from existing interface it is best thing you have anyway.

Reply via email to