There's more...

EVM is a stack machine and the operations are performed on the stack memory. The stack data store is limited to 1,024 and stack elements can be moved to memory or storage. It is not possible to access arbitrary elements from the stack without removing the top of the stack.

The stack is generally used to hold small local variables and it is almost free to use. Local variables of value types except for arrays, structs, and mappings are stored in the stack.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.144.194