Slow performance compared to C++, ideas?

Dicebot m.strashun at gmail.com
Tue Jun 4 00:33:03 PDT 2013


On Tuesday, 4 June 2013 at 05:41:16 UTC, Rob T wrote:
> Structs would IMO be far more useful if they had inheritance. 
> Inheritence can be fully removed from the rest of polymorphism, 
> so there's no reason why structs which are not polymorphic 
> cannot inherit.

If no polymorphism is needed, there is no reason to use 
inheritance instead of template mixins.


More information about the Digitalmars-d mailing list