Fasting as the ultimate life hack?

Only eat right before you intend to sleep.