Vladimir S. | Officer's Notes|6月 27, 2026 14:52
In Solidity, some data types have a higher gas cost than others. And that is what is often required of a smart contract developer and that’s why you should understand the gas utilization of the available data types; - in order to choose the most efficient one according to your needs.
The main reason to use short types in Solidity is to save gas when working with storage due to tightly packed variables, structure fields and array elements.
For the purposes of this article, I refer to uint8-uint248 and int8-int248 types as “short types”.(Vladimir S. | Officer's Notes)
Share To
HotFlash
APP
X
Telegram
CopyLink