일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- 삶
- error
- REACT
- blockchain
- nextJS
- CSS
- graphQL
- tailwindcss
- typeScript
- web
- bitcoin
- express.js
- 기준
- JavaScript
- solidity
- Redux
- useState
- Ethereum
- Props
- evm
- middleware
- hardhat
- concept
- node.js
- CLASS
- API
- HTML
- SSR
- built in object
- Interface
- Today
- Total
목록Memory (3)
ReasonJun
Memory and calldata are two different data locations in Solidity. Memory is used to store temporary data during the execution of a function, while calldata is used to store function arguments. Memory Memory is a temporary data location that is used to store data during the execution of a function. When a function is called, memory is allocated for the function call and all local variables in the..
Storage Storage is a persistent data store in Solidity that is used to store state variables. State variables are variables that are saved to the blockchain and can be accessed and modified by any user of the contract. Storage is the most expensive type of storage in Solidity, as it requires gas to read and write to. Memory Memory is a temporary data store in Solidity that is used to store data ..
Memory stack : function/order of execution heap: where objects are stored Data type javascript Primitive - immutable : Boolean, String, Number, null, undefined, Symbol Reference - mutable : Object, Array Basically, javascript uses call stack memory space to store references and values for primitive types, but uses a separate memory space called Heap for reference types. In this case, the call st..