I was watching one of those performance science podcasts (Hubermann, I think) and I do believe he said that if you take a cold shower immediately after learning, it increases the likelihood that you'll remember it. So I wonder if the optimal learning pattern would be learn > cold shower > sleep.
Don't quote me though, as it's been awhile.