diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-08-03 22:29:47 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-08-03 22:29:47 +0200 |
commit | 931eb0894e7cd3717f1218f0eb06382b11734c13 (patch) | |
tree | b6ad9b0d98a8f26e496c91ad3f24d1c855b654df /Arrays are useful when you know the length will not change.md | |
parent | af98004d2cf437603f47f4224110a80d76d0d7de (diff) |
vault backup: 2025-08-03 22:29:47
Diffstat (limited to 'Arrays are useful when you know the length will not change.md')
-rw-r--r-- | Arrays are useful when you know the length will not change.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Arrays are useful when you know the length will not change.md b/Arrays are useful when you know the length will not change.md new file mode 100644 index 0000000..574dd01 --- /dev/null +++ b/Arrays are useful when you know the length will not change.md @@ -0,0 +1,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.
\ No newline at end of file |