in reply to How to duplicate every member of an array
You have some good answers from other Monks so now you can do this if you want.
My question is: why do you want to do this? It will double/n-fold the memory footprint of your array for very little benefit. It sounds a little bit like an XY Problem. Would you care to elaborate?
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to duplicate every member of an array
by soblanc (Acolyte) on Jul 28, 2022 at 14:02 UTC | |
|
Re^2: How to duplicate every member of an array
by Anonymous Monk on Jul 28, 2022 at 10:48 UTC | |
by Discipulus (Canon) on Jul 28, 2022 at 11:20 UTC | |
by AnomalousMonk (Archbishop) on Jul 28, 2022 at 12:30 UTC | |
by soblanc (Acolyte) on Jul 28, 2022 at 14:05 UTC |