On 2/1/21 11:31 AM, Per Nordlöw wrote:
On Monday, 1 February 2021 at 16:30:31 UTC, Per Nordlöw wrote:
Btw, does

    x ~ y ~ z ~ ...

result in a single allocation?

Provided all the operands has a `length` property.

As long as they are all arrays, yes, the compiler calls a single runtime call to concatenate all of them.

For custom types, it's going to do them in order, 2 at a time.

-Steve

Reply via email to