[Solidity] How does function name affect gas consumption in smart contract

Yi-Cyuan Chen
JOYSO
Published in
May 4, 2018

We moved! Find the content on the new site! 👈

You may not think that the name of the function will also have an impact on gas consumption. In fact, in the worst case, there may be more than a thousand of gas impacts. Let’s take a look at the following code:

…

--

--