Optimize my code =)
stanislav.blinov at gmail.com
Mon Feb 17 21:13:51 PST 2014
On Tuesday, 18 February 2014 at 03:32:48 UTC, Stanislav Blinov
> 3) Ditch extra constructors, they're completely unnecessary.
> For matrix you only need your non-trivial ctor, postblit and
> lvalue assignment operator.
Actually rvalue opAssign would be even better :)
Also, I forgot to remove it in the code, but that explicit ctor
for Dimension is completely unnecessary too.
More information about the Digitalmars-d-learn