From 931eb0894e7cd3717f1218f0eb06382b11734c13 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Sun, 3 Aug 2025 22:29:47 +0200 Subject: vault backup: 2025-08-03 22:29:47 --- Primitive values such as the array are allocated on the stack.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Primitive values such as the array are allocated on the stack.md (limited to 'Primitive values such as the array are allocated on the stack.md') diff --git a/Primitive values such as the array are allocated on the stack.md b/Primitive values such as the array are allocated on the stack.md new file mode 100644 index 0000000..c46ff60 --- /dev/null +++ b/Primitive values such as the array are allocated on the stack.md @@ -0,0 +1,3 @@ +[[Rust]] + +This may be useful to know when optimizing for speed. But for example arrays are limited (or more difficult) in use than vectors which are allocated on the heap instead. \ No newline at end of file -- cgit v1.2.3