Why use std.ArrayListAligned?
Ziggit
Why use std.ArrayListAligned?
I’m struggling to understand when specifying a non-natural alignment with std.ArrayListAligned would be useful. I’m not looking for a general explanation of memory alignment, because I’m pretty sure I understand the basic concept and why the compiler has to care about it. But I’d love a practical example where the programmer having control over alignment via std.ArrayListAligned is necessary. I’m also confused about why a programmer might need to specify alignment when reading from a file, suc...
0 comments
No comments yet.