Closed calvernaz closed 5 years ago
Could you let me know what exactly has been improved? I see that you re-ordered some fields but from a quick look at the diff I do not understand:
packets.RXPK
size goes from 168 bytes to 152 bytes (16 bytes).packets.TXPK
size goes from 144 bytes to 120 bytes (24 bytes).So reordering the fields in those two structs removes the unnecessary padding, saving bytes and gives better memory layout
@brocaar makes sense?
packets.RXPK
size goes from 168 bytes to 152 bytes (16 bytes).packets.TXPK
size goes from 144 bytes to 120 bytes (24 bytes).