Aha, is this why I am able to think so clearly after a fast, I wonder! If anyone else wants to try it, this is what works for me : skip dinner, (take as much water as you feel like, though), sleep early, wake up early, and feel the clarity. It's amazing.
Just in the past week I've been more strict about fasting between dinnertime and breakfast. I did this thinking that it might move my sleep schedule earlier, but now that I've done it for a little while, I think it might be helping my thinking and energy too.
I have noticed such a massive productivity boost that I intentionally skip lunch (for about a year now). I spend my lunch hour running instead.. Feels better throughout the whole day, and have a nice boost of cognitive energy in the afternoon, instead of the post-lunch sleepies.