I watched this video and he uses memory a lot like function verify(address _signer, string memory _message, bytes memory _sig. Why so? Could the function work without using memory?
While the usual function transferFrom(address owner, address buyer, uint256 numTokens) has no memory.
When do we use memory and when we don't have to use them?