It's certainly not something I'd recommend doing (I've had a couple of occasions where I've been up 40ish hours and started to notice the visual disturbances, so it can definitely come on sooner).
The dissertation was partly very poor planning on my part, but I also stumbled on a doctoral thesis that more or less disproved the central tech. behind my dissertation less than a week before the final deadline, which gave me two options:
A) finish up what I'd done, knowing it was fundamentally flawed and that I'd never be able to defend it if called for a viva voce (unlikely, but a definite possibility)
B) rewrite pretty much the entire thing (~30k words) to take a different approach, re-implement the hardware (audio filtering; didn't help that the spec. sheet lied to me and said it had an FPU but actually just emulating floating-point in software which was unusable slow), and come up with a convincing conclusion explaining why a year-long project produced nothing particularly useful.
I went with B, hence the 100 hours of solid work, and it went OK (mark was a marginal pass, but a pass nonetheless), but I'd hate to do it again. It took me 3 or 4 days to start feeling normal and alert again, despite sleeping 18 hours after crashing once it was finished.
The current insomnia is really weird though. I saw my GP this morning, took a fairly hefty dose of sleeping aids (15mg diazepam on top of the 20mg tamazepam and 75mg promethazine I was already prescribed[1]), yet somehow feel more awake than before taking those, despite the fact I'm only about three hours away from having had less than than an hour sleep total in the last six days. Honestly, I just feel bored more than anything at this point (hence this somewhat unnecessarily long post :p) - I don't have the physical energy to do a great deal, but mentally I feel more or less normal (though I suspect when I finally do get some sleep, it'll catch up with me and I'll have a rouge couple of days).
[1] FWIW, I've also got Zopiclone, but I saving that as a dug of last resort. The benzodiazepines cause me no side effects, but last time I used the Zopiclone it was rather unpleasant - it caused mild hallucinations (my room looked like it was bathed in a lemon-yellow light, despite it being the dead of night and no lights were on), and it had a strong amnesiac effect (my memory of the night pretty much goes "I'm in bed, why is everything yellow?", "I'm in the bathroom, how did I get here?", "I'm back in bed, but it's three hours later", and I have literally no idea what happened between each thought. It's just like a jump cut in a movie - there isn't even a hazy memory of I did something; it literally just goes from being in one room to being in other, despite there obviously being a chuck of time missing. It's pretty disconcerting).