Dilated pupils while on coke

So last night I was hanging out with a guy and his pupils were so dilated, I’ve never physically seen dilated pupils so it kinda freaked me out, he mentioned that he did coke the night before however I’ve heard that dilated pupils only last as long as the high? And considering a coke high doesn’t last long, that would mean he did it literally minutes before he saw me. Is this true? Or is that not always the case?

Personally I don’t care that he does it as he only does it on his birthday for recreational use however I do have a problem with him bringing it around me and he knows that.