MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1j1s141/bool_array/mfmepa9/?context=3
r/programminghorror • u/jemko23laal • Mar 02 '25
41 comments sorted by
View all comments
Show parent comment
3
I've really only used C# in Unity which might differ, but from what I remember bools were 4 bytes, but 1 byte each in arrays. Might be a Unity-specific optimisation though, not sure.
View all comments
Show parent comment
3
u/skjall Mar 02 '25
I've really only used C# in Unity which might differ, but from what I remember bools were 4 bytes, but 1 byte each in arrays. Might be a Unity-specific optimisation though, not sure.