https://stackoverflow.com/questions/70587534/struct-padding-rules-in-rust
보니까
As far as Rust's rules go, the reference says "There are no guarantees of data layout made by [the default] representation." So in theory, the compiler can do whatever it wants and reorder fields based on access patterns. But in practice, I don't think its that elaborate and organizing by field size is a simple way to minimize padding.
이라네
오.....음...신박하네
그럴수있지
ㅇㅇ 보장될려면 repr 붙여야돰
C처럼 구조체 포인터가지고 장난칠 일도 거의 없으니까 필드 순서 최적화해도 괜찮겠지
왠지 찔린다...
최적화해줌