Efficient way to pass struct as parameter

Patrick Schluter Patrick.Schluter at bbox.fr
Wed Jan 3 18:40:09 UTC 2018


On Tuesday, 2 January 2018 at 23:27:22 UTC, H. S. Teoh wrote:
>
> When it comes to optimization, there are 3 rules: profile, 
> profile, profile.  I used to heavily hand-"optimize" my code a 
> lot (I come from a strong C/C++ background -- premature 
> optimization seems to be a common malady among us in that 
> crowd).

That's why I always tell that C++ is premature optimization 
oriented programming, aka as POOP.


More information about the Digitalmars-d-learn mailing list