Most coders I know have had occasional run ins with a rabbit hole where several days of their life got sucked into a single drawn out coding session with little breaks besides food, and had some of the most productive few days of their lives doing that.
If you need me to do a three day sprint, I'm going to accomplish the most without any breaks and with very sporadic sleep. (typically when doing a multi day session my sleep happens 30-120 minutes at a time, usually immediately following me hitting a difficult problem that requires intense rumination)