diff --git a/compression/types.h b/compression/types.h index 429865bc..d38ed542 100644 --- a/compression/types.h +++ b/compression/types.h @@ -168,6 +168,7 @@ struct NuqStream { // smaller size (table amortized over more weights). static constexpr size_t kGroupSize = 256; +#pragma pack(pop) // Storage for dynamic programming. There are two matrices; we use separate // allocations to avoid type punning. template @@ -200,6 +201,7 @@ struct NuqStream { AlignedMatrix costs; AlignedMatrix argmin; }; +#pragma pack(push, 1) // Returns offset of packed indices from the start of the stream. This matches // the (padded) total table size because table entries are bytes.