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 : 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.

Random recommended