Copying Memory in EVM, how hard can that be? by Elia Anzuoni | Devcon SEA
DevconTue, Oct 7, 2025, 12:00 AM
Speaker
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 Speaker(s): Elia Anzuoni Skill level: Intermediate Track: Core Protocol Keywords: Core Protocol, Gas, Developer Infrastructure, compilers, optimised Follow us: https://twitter.com/efdevcon, https://twitter.com/ethereum, https://warpcast.com/devcon Learn more about devcon: https://www.devcon.org/ Learn more about ethereum: https://ethereum.org/ Visit the https://archive.devcon.org/ to gain access to the entire library of Devcon talks with the ease of filtering, playlists, personalized suggestions, decentralized access on Swarm, IPFS and more. Devcon is the Ethereum conference for developers, researchers, thinkers, and makers. Devcon SEA was held in Bangkok, Thailand on Nov 12 - Nov 15, 2024. Devcon is organized and presented by the Ethereum Foundation. To find out more, please visit https://ethereum.foundation/
Transcript
Automatic transcript — names and jargon may be misspelled.