Optimize my code =)

bearophile bearophileHUGS at lycos.com
Fri Feb 14 08:56:28 PST 2014


Craig Dillabaugh:

>> 	this.data = new T[this.dim.size];
>
> with:
>
> this.data.length = this.dim.size

It's the same thing.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list