Content pfp
Content
@
0 reply
0 recast
0 reaction

Paul Razvan Berg pfp
Paul Razvan Berg
@prberg
Solidity tip: Declare your time variables as "uint40" rather than "uint256", to save gas in structs and contract storage. 2^40 as a Unix timestamp is ~35k years into the future. I'm bullish on Ethereum, but I think that that should be enough for all contracts deployed today.
7 replies
0 recast
27 reactions

Daksh pfp
Daksh
@daksh.eth
Surprisingly struct packing is a rarely used practice for most teams. I’ve only seen a few competent teams use it properly (:
0 reply
0 recast
0 reaction