You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caching array length can save gas
Caching the array length is more gas efficient.
This is because access to a local variable in solidity is more efficient than query storage / calldata / memory
Caching the array length is more gas efficient.
This is because access to a local variable in solidity is more efficient than query storage / calldata / memory
**Occurrences in:
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L556
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L594
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L611
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L627
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L637
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L647
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L658
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L670
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L728
https://github.com/code-423n4/2022-06-putty/blob/main/contracts/src/PuttyV2.sol#L742
floorAssetTokenIds
in fillOrder()floorAssetTokenIds
in exercise()The text was updated successfully, but these errors were encountered: