Arrays and vectors are very alike, but their difference in terms of performance is staggering. Although allocation of memory on the stack makes arrays blazingly fast, sometimes you can not live without the dynamic nature of vectors.
Find me elsewhere:
🐘 Mastodon: https://mastodon.social/@GreenTeaCoding
00:00 Intro
00:28 Arrays
02:40 Vectors
04:08 Arrays and Vectors as Function Parameters
06:25 Slices
10:36 Performance Implications
13:08 Outro