Skip to content

Updated comment on external vs public functions in Solidity#1

Open
Akkii4 wants to merge 2 commits intopatrickd-:mainfrom
Akkii4:patch-1
Open

Updated comment on external vs public functions in Solidity#1
Akkii4 wants to merge 2 commits intopatrickd-:mainfrom
Akkii4:patch-1

Conversation

@Akkii4
Copy link
Copy Markdown

@Akkii4 Akkii4 commented Apr 5, 2023

For Solidity versions after 0.8.0, there is no longer a gas cost difference between external and public function calls.

For Solidity versions after 0.8.0, there is no longer a gas cost difference between external and public function calls.
modified the comment based on the discussion with patrickd on the use of calldata param in order to save gas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants