What is 'gas optimization' technique of 'packing struct variables' in Solidity?
-
A
Ordering struct fields so that smaller types share a 32-byte storage slot, reducing the number of SSTORE operations
-
B
Compressing struct data using on-chain zlib compression before storage
-
C
Splitting large structs into multiple smaller contracts to reduce deployment cost
-
D
Using assembly to manually write struct data to avoid Solidity overhead