I’d appreciate input on this topic.
You do not need to understand it.
Designing structs around memory alignment is an advanced optimisation technique.
The essence is, if those fields of a struct you need, always start at a location that matches your memory alignment, then accessing will be faster.
Holloway suggested I read a certain book, and that’s one of the first things she mentions. Let me see if I can find the title of the book.
The Ultimate Go Study Guide by Hoanh An
I’ll also find the excerpt.
I’m having trouble doing this. One reason is because I am on my phone right now. I neglected to bring my computer charger with me .
I’m going to start another topic where I specifically ask questions from the book.