| ▲ | matheusmoreira an hour ago | |
Compilers could add support for an unaligned attribute that we can apply to pointers. I'd prefer that to wrapping everything in a packed structure which is quite unsightly. Would have been better if correct behavior was the default while pointer alignment requirements were opt in, just like vector stuff. Nothing we can do about it now. I would hope the compiler is smart enough to figure out which accesses are aligned and unaligned on its own. | ||