Almost always, worrying about arrays is premature optimization.
Re:On Performant Arrays in Swift
by whowouldathunk on Thursday October 12, 2017 @10:52AM
(#15458379)
On the contrary, developing a good intuition about stuff like this so you get it right the first time is a big time saver in the long run. Especially when it's no extra code to do the better thing to begin with.
Good developers have battery empathy.
Good developers know when to use profilers.
Honestly I never run into performance problems since the volume of data I work with is either really huge and done in a C or C++-based library or so small I would never think about array performance.