Researchers watched captive scrub-jays recover worms and peanuts they had hidden. The birds preferred the worms after a short delay but shifted toward peanuts after enough time for the worms to spoil, once they had learned the worms’ shelf life. The choice combined what the birds had hidden, where…