Assign to Array Column

Siarhei Siamashka siarhei.siamashka at gmail.com
Thu Feb 2 13:49:18 UTC 2023


On Thursday, 2 February 2023 at 10:47:19 UTC, Salih Dincer wrote:
> It can be seen below that the structure (LimitedArray) 
> implemented with
> union is at least 15 times and at most 20 times faster.

Except that it isn't. How did you manage to get such ridiculous 
results? Even running your program compiled by LDC with 
optimizations gives me the following:

#line1 31 µs
#line2 33 µs
Percent %0

This isn't a proper way to do benchmarks.


More information about the Digitalmars-d-learn mailing list