Copying Memory in EVM, how hard can that be?
Duration: 00:08:15
Speaker: Elia Anzuoni
Type: Lightning Talk
Expertise: Intermediate
Event: Devcon
Date: Nov 2024
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