Tag
data-layout
- Mar 13, 2026 Compressed Sparse Row Storage and the Cost of Insertion How three flat arrays encode a sparse matrix, why the matrix-vector product is limited by memory rather than arithmetic, and why assembly happens in a different format. scientific computing
- Jan 29, 2026 Struct Padding and the Alignment Rule Behind sizeof How alignment requirements, member order, and trailing padding determine a structure size, and why reordering members can shrink it without changing any field. systems programming
- Jun 8, 2025 Bitfield Allocation and Packed Structures How bit-fields are packed into storage units on the two major ABIs, why the standard leaves the bit order open, and what packed structs cost at every member access. systems programming
- Oct 28, 2024 Bytes Fetched per Field: Layout as a Bandwidth Decision Why array-of-structs and struct-of-arrays trade differently against cache line granularity, and how to compute the bytes moved per field actually read. performance engineering