On 1/16/22 15:14, forkit wrote:

> But -profile=gc .. says no. It's not.
>
> int[][] mArr = [[1, 2], [3, 4], [5, 6], [7, 8]]; // GC allocation occurs.
> int[][] mArr = iota(1, 9).chunks(2).map!array.array; // No GC allocation
> occurs.

Definitely a -profile=gc bug. Here are the existing ones:

  https://issues.dlang.org/buglist.cgi?quicksearch=profile%20gc

Ali

Reply via email to