All Questions
2 questions
0
votes
1
answer
24
views
Convert the following address sum function to optimized assembly via both memory and storage. Slots are dynamic
I'm looking to convert the entire function getCurrentSupply() to assembly code as the potential gas savings in this use case are significant. Note that everything should be within a single assembly{} ...
3
votes
0
answers
44
views
Classical bit-fiddling tricks that don't work in the EVM
Many classical bit-fiddling/bit-hacking tricks work very well on the EVM and allow one to save a significant amount of gas when programming in Yul/Solidity (for a reference to the classics, see Sean ...