projectchicago / gastoken

⛽ Tokenize gas on Ethereum with GasToken ⛽
https://gastoken.io
718 stars 89 forks source link

Inline makeChild in mint and unroll loop #8

Open recmo opened 5 years ago

recmo commented 5 years ago

Continues from PR #7. I think the mint function has no further optimizations that are O(value), unless Solidity does some sub-optimal stack management.

There's another O(value) optimization possible with the trick in #6.