How quickly you learn something depends on how much you've eaten recently. You learn most quickly immediately after ending a long fast. Your brain thinks you just learned something that saved it from starvation. (But note that a 1-day fast for a fruit fly could be compared to a human fasting for months.)
Wouldn't you want to learn the thing right before breaking your fast?
The experimental time resolution isn't that high. They're comparing things learned "when" breaking the fast vs. things learned 4 or 6 hours earlier or later.
There are two confusing but potentially important papers in the Jan. 25 2013 Science on long-term memory (LTM) formation in fruit flies:
Pierre-Yves Placais & Thomas Preat. To favor survival under food shortage, the brain disables costly memory. 339:440-441.
Yukinori Hirano et al. Fasting launches CRTC to facilitate long-term memory formation in Drosophila. 339:443-446.
These papers categorize long-term memory formation along three axes.
The relationship between these is unclear, particularly as each of these three axes is claimed at various times to determine whether memory can be learned in a single training cycle (appetitive, fLTM, and/or ARM) or not (aversive, spLTM, and/or LTM). But these things appear to be likely, or at least to be reasonable hypotheses, if these pathways are conserved in humans:
I'd really appreciate it if somebody would do a literature review and a comparison of the pathways involved to those in humans, and summarize their findings.