morpho-org / morpho-blue-irm

Morpho Blue Interest Rate Models
https://morpho.org
MIT License
26 stars 17 forks source link

Optimize wExp #5

Closed MathisGD closed 1 year ago

MathisGD commented 1 year ago

There is this idea by @QGarchery, and probably other ideas. I estimate the current two wExp to be responsible for a little bit more than half of the total gas cost of the borrowRate function