balancer / balancer-v3-monorepo

GNU General Public License v3.0
43 stars 19 forks source link

Review token scaling operations #309

Closed jubeira closed 1 week ago

jubeira commented 8 months ago

There might be some room for improvement when we scale tokens, because we might be iterating the token balances twice at some places.

Review and optimize if possible.

jubeira commented 8 months ago

See https://github.com/balancer/balancer-v3-monorepo/pull/294#discussion_r1494736777, and find similar appearances.

jubeira commented 1 week ago

This was optimized as much as possible with the pool config lib refactors. There's not much more room for big refactors at this point.