summaryrefslogtreecommitdiff
path: root/Arrays are useful when you know the length will not change.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-08-03 22:29:47 +0200
committerJasper Ras <jras@hostnet.nl>2025-08-03 22:29:47 +0200
commit931eb0894e7cd3717f1218f0eb06382b11734c13 (patch)
treeb6ad9b0d98a8f26e496c91ad3f24d1c855b654df /Arrays are useful when you know the length will not change.md
parentaf98004d2cf437603f47f4224110a80d76d0d7de (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.md3
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