In Computer Science we have "Big O Notation" to describe how efficient is an algorithm at processing some task. Those can be linear, time constant, exponential among others.
Using that analogy, How much time the brain needs at sleep to recover itself from an intensive day at work/over stimulation/training/learning/etc?
After it reach it's "specific time", I know that we dream, and that can take very few minutes. Last night I've dreamt of hardest college exams, even done my last one in 2011. So, dreaming time is a period where the brain clean itself from toxins? I've waked up early, so I should have "dreamed a litle bit more" to recover, or the dream it's just the output imaging of the brain recovery process?
What can I do to recover faster? Things like dimmer and silent ambient help better than the total time slept? How they affect and interrelate? If you can provide technical and scientific papers, it will help a lot!
Thanks a lot for your time and patience!
Edit: "Typed Bio O instead of Big O".