Closed elshan-eth closed 3 weeks ago
We can save gas if we don't create a new array when we use copyToScale... functions. With this PR we can reuse this array.
main
Closes #336
no optimization. It seems that before the main update, it reduced the gas by 300 in all cases but now I see that this only works for PoolMock
Description
We can save gas if we don't create a new array when we use copyToScale... functions. With this PR we can reuse this array.
Type of change
Checklist:
main
, or there's a description of how to mergeIssue Resolution
Closes #336