Currently, each map object property (boolean) takes up 1 byte, taking up a total of 8 bytes. This, however, is fairly unnecessary, as storing a bool as a simple 0 or 1 would be sufficient. We could store maybe 5 or 6 bools into a single byte, thereby saving some space.
Currently, each map object property (boolean) takes up 1 byte, taking up a total of 8 bytes. This, however, is fairly unnecessary, as storing a bool as a simple 0 or 1 would be sufficient. We could store maybe 5 or 6 bools into a single byte, thereby saving some space.