Creating object arrays without the object speeding up

You mean, something like this sketch:
https://OpenProcessing.org/sketch/1805772