The mind is really bad at learning while doing. You have to do, then rest and let your subconscious process what you did, then do again etc. Resting is an integral part of learning. Just doing until you are too exhausted to continue is not a good strategy to learn.