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
Enum discriminators are already bit-packed; Bool? takes two bits. Tuples are constrained by the (T,T,T) abstraction boundary, so we can't bit-pack their fields unless we're willing to reabstract them at generic boundaries. We could conceivably bit-pack concrete structs.
I'm reopening this. I redefined SR-3726 to track the larger task of defining the layout algorithm for tuples, not just whether they are bit-packed. Let's use this report to track the packing issue.
Additional Detail from JIRA
md5: 0aefdbe4f7f07547cb62f2bd02f6a8c0
is duplicated by:
relates to:
Issue Description:
I need to store a bunch of true/false/indeterminate values, but Swift doesn't handle it efficiently:
These should all fit in one byte.
The text was updated successfully, but these errors were encountered: