summaryrefslogtreecommitdiff
path: root/Arrays are useful when you know the length will not change.md
blob: 574dd01a7bbd7ba53b1be470e3b60834c8b685bb (plain)
1
2
3
[[Rust]]

Because they are more efficient than vectors, if you know ahead of time that the length of the array isn't going to change, for example the names of the months: use an array.