current position:Home>Does the version of solidity affect gas?

Does the version of solidity affect gas?

2022-02-03 23:37:23 Q & A of Denglian community

solidity Version pair gas Does it have an impact ? If yes, can you explain in detail or give relevant articles




Take the answer 1:

No influence .

Not too high version solidity Will bring some new features , Let realize what is needed for the original function gas less . For example ,0.6.5 The introduction of the immutable :https://learnblockchain.cn/article/1059 Before that, you can only use gas Consume higher state variables .






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032337214519.html

Random recommended