Alternative to very time-consuming array operations

I posted one in the new topic: Nested static arrays perform worse than nested arrays

(sorry I just saw that I attached the wrong link)