This is TERRIBLE. Things should be aligned. With a 4K array (so you fit in L1), the difference is about 60%. Going to an alignment mod 8 helps for doubles, but only for doubles. I would say that everything else should definitely be aligned mod 4 on the theory that one doesn't have many 1-byte things on the stack. Is this hard.