Automate allocation

Yes.
We talked about assignment vs copy here.

I brought this up in case future users come to this thread, so the diff betw the following is clear:

a, b, c = (zs for _ in 1:3)
a, b, c = (copy(zs) for _ in 1:3)

a, b, c = (copy(zs) for i in Iterators.repeated(zs))
3 Likes