When the DSR (Dai Savings Rate) was introduced by MakerDAO, the Compound team developed a CDaiDelegate to take advantage of DSR (pre governance). With DSR remaining at 0% for such an extended period of time, it would be advantageous for the sake of gas fees to change back to a system which doesn’t enter DSR.
I propose setting the cDai implementation to a CErc20Delegate which is already the implementation for cUSDT which can be found here.
The following are rough gas estimates for a CDaiDelegate vs CErc20Delegate transactions. They are a very naive at just a few of the most recent transactions–a goes on behind the scene, but there is a definite and significant downwards trend.
Estimated Gas Savings:
Mint
262,972 -> 187,459
Redeem
316,559 -> 186,721
Borrow
565,067 -> 320,452
Repay Borrow
335,807 -> 196,837