Skip to main content
3 events
when toggle format what by license comment
Mar 12, 2012 at 18:31 comment added Patrick Hughes @StevenStadnicki I totally agree with your nitpick! but OP is probably not aware of the struct member alignment and padding options required to ensure that byte remains a byte of RAM so I aim at the simplest example.
Mar 12, 2012 at 18:20 comment added Steven Stadnicki (Nitpickery: OP could easily be storing the shield value in a byte rather than a full int, so if there are several other byte values being stored then there could be a difference in memory usage - though I obviously agree with you that it still won't be an issue until there are so many enemies that other concerns become much more critical.)
Mar 12, 2012 at 18:13 history answered Patrick Hughes CC BY-SA 3.0