ExocoreNetwork / exocore-contracts

5 stars 5 forks source link

Optimize using ++i to save cost in for loop instead of i++ #68

Closed magj2006 closed 3 months ago

magj2006 commented 3 months ago

It will save cost if using ++i, and initialize i in for loop. Test report is below:

截屏2024-07-31 11 56 28 截屏2024-07-31 11 56 49