Post

ruining my brain by forcing myself to think about cache locality every time i make a new struct typedef

0 reposts1 like

i saved 3 bytes by making my enum packed I Am Winning (the alignment is still 4 bytes)

playing how many of this struct can i fit in a cache line and losing because i decided to put 8 pointers in it