There are two other components to this that you're glossing over. Sleep helps with long-term memory. So if your plan is to study-ahead and be prepared for the exam, fine. But then the second component comes in to play. People that are cramming for the exam are doing so because they didn't study ahead. For that second group of people, sleep is actually the last thing they need. What good is remembering something long-term, if you never actually "learned" it in the first place. And let's be honest, people that are cramming for exams, are not the type to have learned the content before, either. (Though I generalize a bit there)
Now I practice much less and focus on my health. My abilities seem to increase on their own on a slow-but-noticeable basis.