I am certain that disciplined sleeping habits had a lot to do with it: absent the discipline, I would have often gone to bed around two or three in the morning, gotten less sleep -- or less quality sleep -- and, were I to have maintained this haphazard schedule, would have never been able to have set my biological clock to the necessary 10-6 sleeping schedule required for the three days of the exam itself. Beginning at 8AM, we had to be there by 7-730 or so, and I had to allow time for an adequate (light) breakfast.
Obviously I didn't mean to exclude the value of the actual studying, I'm just saying that studying -- without proper sleep and sleeping schedule -- would have lead to physical and mental and fatigue. And the nature of the bar exam material makes it virtually impossible to adequately perform on a sleep-starved mind.