I'm confused about why the two discharging patterns occur in regards to resistance. If I am understanding correctly:
An inductor: A lower resistance means that it will take longer for the inductor to discharge. Theoretically, infinitely small resistance means that the inductor will discharge forever (source) Higher resistance means it will take less time for the inductor to discharge. But then I was thinking that the lower the resistance, the higher the power dissipated ($I^2R$) and the faster it will discharge. But this is not the case.
A capacitor, on the other hand, with a lower resistance, will discharge faster. Infinitely small resistance theoretically would mean the capacitor discharges instantly. This aligns with the power dissipated idea, but I completely don't get why the two work opposite, and why the change in resistance causes these shifts in discharge times.