Closed Nashtare closed 7 months ago
Removes some CPU cycles:
%mload_packing
MLOAD_32BYTES
%mstore_unpacking
hash.asm
Removes 1050 CPU cycles on ERC20 (much more with large MPTs)
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
Removes some CPU cycles:
%mload_packing
can be directly replaced toMLOAD_32BYTES
, no need for hook + jump%mstore_unpacking
, we can sometimes just call directly the variant if the size is known which skips going through the jumptablehash.asm
, to reduce the needless overheadRemoves 1050 CPU cycles on ERC20 (much more with large MPTs)