ditto-lab / ditto

NFT Future protocol
MIT License
60 stars 3 forks source link

hardcode entire TimeCurve #79

Closed 0xbok closed 2 years ago

0xbok commented 2 years ago

Since we only pass input in [1,255], we can hardcode all the values (we do it anyway for cbrt). This saves 13,659 gas on duplicate (when clone is transferred).