Tag
contiguous-storage
- Jun 5, 2026 Erasing From the Middle: Compaction and the Order It Destroys Why removal from a contiguous array costs a shift, when swap-and-pop is the right substitute, and how tombstone markers defer the cost without hiding it. data structures
- Aug 13, 2025 Row-Major Layout and the Address Arithmetic Behind Indexing How a pair of subscripts becomes one byte offset, why the last subscript varies fastest, and what traversal order does to cache-line consumption. data structures
- Oct 12, 2023 What a Slice Descriptor Holds and Why It Is Three Words The pointer, length and capacity triple that makes a slice cheap to pass, how subslicing shares storage, and where the shared-buffer aliasing shows up. data structures