0xPolygonZero / plonky2

Apache License 2.0
755 stars 278 forks source link

Improve some calls to `%mstore_rlp` #1452

Closed Nashtare closed 8 months ago

Nashtare commented 8 months ago

Following #1426, %mstore_rlp's name is not really meaningful, as it only performs SWAP MSTORE_GENERAL. Additionally, most calls can be changed to a single call to MSTORE_GENERAL instead by reordering previous stack operations. This addresses it and renames the last remaining calls to %mstore_rlp as %swap_mstore for clarity.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud