4 ms·
Very fascinating stuff, also follow the link at the bottom of the article towards another explanation with visuals how arrays are structured. Honestly I never
by dep_b 9y ago
Very fascinating stuff, also follow the link at the bottom of the article towards another explanation with visuals how arrays are structured.
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.
- valuearb 9y agoAlmost always, worrying about arrays is premature optimization.
- whowouldathunk 9y agoOn 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.
- pjmlp 9y agoGood developers know when to use profilers.
- jcelerier 9y agothanks for your contribution to my job safety :p