Content
@
0 reply
0 recast
2 reactions
normal horsefacts
@horsefacts.eth
- Keep all strings under 32 bytes - Replace modifiers with internal functions - Linked libraries 😈 (cc @maks) https://warpcast.com/maks/0xb0fda8ff
7 replies
3 recasts
23 reactions
m4rio
@m4rio
using storage variables instead of copying everything to memory. 🤌
1 reply
0 recast
1 reaction
normal horsefacts
@horsefacts.eth
tell me more about this one…
2 replies
0 recast
0 reaction
m4rio
@m4rio
Probably cause you don t do a sload and then a mstore…
0 reply
0 recast
1 reaction
m4rio
@m4rio
It’s something I was always finding peculiar, but not declaring all the variables in memory, e.g. You have a struct and a mapping, instead of copying that element in mem, you just access it. It’s more expensive on usage but less on storage.
1 reply
0 recast
1 reaction