11-13, 11:20–11:30 (Asia/Bangkok), Stage 4
Memory copy operations in EVM are a useful feature, but there are different ways to do. How do they differ? Which is the best?
The options are:
MLOAD+MSTORE loop
Identity Precompile
The new MCOPY opcode
Based on concrete examples we will explain how these options differ. We will use different examples as the amount of bytes copied makes a difference. For all these options we will present gas consumption and code size.
This way we can compare the different options to copy memory and crown the ult
Newcomer to Ethereum, maths-nerd from day 1.