You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bool is represented on the stack as an i32 simply because that is an easy type to work with. When it is written to memory, I defaulted to writing the full i32 because that seemed like the easiest solution. After writing more code, I see that it is also very easy to handle reading/writing a single byte for the bool, and save some space in the memory. I don't think this improves performance at all, just data size, so it is not urgent.
The text was updated successfully, but these errors were encountered:
The
bool
is represented on the stack as ani32
simply because that is an easy type to work with. When it is written to memory, I defaulted to writing the full i32 because that seemed like the easiest solution. After writing more code, I see that it is also very easy to handle reading/writing a single byte for the bool, and save some space in the memory. I don't think this improves performance at all, just data size, so it is not urgent.The text was updated successfully, but these errors were encountered: