@cgaebel, you are right, padding doesn't exactly work like that.

An RFC about struct reordering has led to [padding measurements](https://gist.github.com/pczarn/532a692f105208fcb428) and resulted in this PR since HashMap had 11 bytes of padding.

Also, this RFC was recently accepted, it's going to be implemented in #14479.