/solidity_vs_yul

Comparing Solidity and Yul (inline-assembly) based on code and gas cost to perform similar task.

Primary LanguageSolidity

Solidity vs Yul

The gas cost after calling each function is stated above it and there are also comments that explains what each line of code does.

Note: This is just for education purpose, do not use in production if you do not understand it.