Forum

How to Concat a Spread of Spreads

Hello,

So I have a Spread which I repeat, and I get a Spread<Spread>. What would be the operation to go to get a single Spread out of this? Sorry if this question was asked a 100 times. I couldn’t find it here.

Greetings

ther is the Flatten node, but it can be expensive since it has to copy all the slices.

depending on how many slices you have, if it is thousands, it is better to use a SpreadBuilder as an accumulator and use the Add node in the inner loop.

1 Like

Thank you @tonfilm. Flatten did the job very well. It only needs to be done once, so I put it into a cache region.