summaryrefslogtreecommitdiffhomepage
path: root/pkg/atomicbitops/aligned_test.go
AgeCommit message (Collapse)Author
2021-08-04Reduce overhead of AlignedAtomic typesAndrei Vagin
AlignedAtomicUint64 is 15 bytes and it takes 16 bytes in structures. On 32-bit systems, variables and structure fields is guaranteed to be 32-bit aligned and this means that we need only 12 bytes to find 8 contiguous bytes.