Pandora-Labs-Org / erc404

401 stars 186 forks source link

enhance {_setOwnedIndex} to reduce the gas consumption #49

Open RevelationOfTuring opened 8 months ago

RevelationOfTuring commented 8 months ago

Motivation This pull request is for addressing https://github.com/Pandora-Labs-Org/erc404/issues/48.

Change Summary The change in this PR optimize the assembly operation in internal function {_setOwnedIndex} with less gas consumption.