You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix i128 alignment by serializing int128_values first
The i128 type requires 16-byte alignment. By serializing int128_values
FIRST (after the header), its data will be at a 16-byte aligned offset
since:
1. The buffer is allocated with 16-byte alignment
2. SafeList serialization pads to @Alignof(T) before writing data
The deserialization buffer is already allocated with 16-byte alignment
via SERIALIZATION_ALIGNMENT in CompactWriter.
This is the proper fix that preserves zero-cost deserialization (just
cast the memory) rather than adding runtime conversion overhead.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments