Commit 4e91fa0
committed
⚡ Fix the size of tuples of empty objects
Problem:
- A tuple containing distinct empty objects requires at least 1 byte for each, when it
could be 1 byte total.
Solution:
- Apply `[[no_unique_address]]` to tuple elements so that a tuple of empty
objects is minimal.1 parent df5ae34 commit 4e91fa0
2 files changed
+144
-134
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments