So the study shows that night owls and people with flexible sleep patterns might have a slight advantage in terms of cognitive performance implying that it’s not just how much sleep you get, but also when you prefer to sleep that matters for keeping your brain sharp.