You should explain why the struct layout is different depending on endian-ness. I see no obvious reason for that, as it wouldn't seem to make something like files endian-neutral.
It allows the from bits function to use a u64, the comment above the struct in the source code said it allows the compiler to make more optimised outputs, I don't think it is important to the user just mentioned it to show how much effort bevy puts in to make its code fast
You should explain why the struct layout is different depending on endian-ness. I see no obvious reason for that, as it wouldn't seem to make something like files endian-neutral.
It allows the from bits function to use a u64, the comment above the struct in the source code said it allows the compiler to make more optimised outputs, I don't think it is important to the user just mentioned it to show how much effort bevy puts in to make its code fast
@@PhaestusFox Huh. OK. I guess if they're casting u32+u32 to an address/pointer or something, that could make sense. Thanks!