Skip to content

Commit

Permalink
Merge pull request #15161 from shafu0x/develop
Browse files Browse the repository at this point in the history
Assembly is used for libraries or gas optimization
  • Loading branch information
nikola-matic committed May 30, 2024
2 parents 12b404f + 76e31d9 commit b849b32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/assembly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Inline Assembly

You can interleave Solidity statements with inline assembly in a language close
to the one of the Ethereum Virtual Machine. This gives you more fine-grained control,
which is especially useful when you are enhancing the language by writing libraries.
which is especially useful when you are enhancing the language by writing libraries or
optimizing gas usage.

The language used for inline assembly in Solidity is called :ref:`Yul <yul>`
and it is documented in its own section. This section will only cover
Expand Down

0 comments on commit b849b32

Please sign in to comment.