Something also that I noted is that it is somewhat easier to do the task you don't want to do when you're tired / sleep deprived - mostly because effectively, my brain is too tired to argue against doing the thing.
I'm sure it wasn't an effective strategy for information retention, and I developed pretty terrible sleep habits which plagued me for years after. But the homework got done...