Closed DanielSchiavini closed 2 months ago
Pool
curve.contracts[...].contract
new Contract
defineProperties
abitype
Notice how the defineProperties takes a lot of CPU time (40% in this case) because it repeats a lot!
Now after my changes, the bottleneck is gone
Rebased in #390 due to unsigned commits in the merge
Pool
objects are createdcurve.contracts[...].contract
new Contract
, the functiondefineProperties
takes ~50% of the render time in the swap pageabitype
for better type checking