<div dir="ltr"><div>i noticed that this enum takes up 9 bytes of storage <br><span style="font-family:monospace,monospace"><br>  1&gt; enum QuantizationTable  <br>  2. { <br>  3.     case q8 (UnsafeMutablePointer&lt;UInt8&gt;),  <br>  4.          q16(UnsafeMutablePointer&lt;UInt16&gt;)  <br>  5. } <br>  6&gt; MemoryLayout&lt;QuantizationTable&gt;.size<br>$R0: Int = 9</span><br><br></div>but when i make it optional, it takes up 10<br><div><br><span style="font-family:monospace,monospace">  7&gt; MemoryLayout&lt;QuantizationTable?&gt;.size <br>$R1: Int = 10<br></span><br></div><div>can’t the compiler just tack the <span style="font-family:monospace,monospace">nil</span> case onto the original enum as a third case? after all, this works fine <br></div><div><br></div><div><span style="font-family:monospace,monospace">  1&gt; enum QuantizationTable  <br>  2. { <br>  3.     case q8 (UnsafeMutablePointer&lt;UInt8&gt;),  <br>  4.          q16(UnsafeMutablePointer&lt;UInt16&gt;),  <br>  5.          none <br>  6. } <br>  7&gt; MemoryLayout&lt;QuantizationTable&gt;.size<br>$R0: Int = 9</span><br></div><div><br></div><div>the way i’m using it atm it all gets padded to 16 anyway so i don’t care that much but is this something that’s being looked at?<br></div></div>