Created
May 26, 2020 17:58
-
-
Save teivah/dcb81c362217af7c5abb3d78635384cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type PaddedStruct struct { | |
n int | |
_ CacheLinePad | |
} | |
type CacheLinePad struct { | |
_ [CacheLinePadSize]byte | |
} | |
const CacheLinePadSize = 64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment