I would also regularly go into class high and have riveting conversations with my professors. I remember I went into Calculus and Chemistry in senior year of high school high every single day and I always asked the most questions in class every time.
I'm not saying that smoking weed is good or bad, but to say it is strictly bad for learning is false.
I will say from my experiences that it bothers me deeply that we don't unbiasedly look into this more. I wish we could study these things since we already have millions of people doing active experiments worthy of scientific study. And for some reason we are wildly comfortable giving our kids adderall to do homework, which basically is saying every time you have to critically think you will use this as a crutch. That is good, but weed is bad? That seems absurd to me and I would say the long term impact adderrall has on a persons ability to learn is potentially worse than marijuana. I'd also argue that the social stigma of asking questions has more impact on a persons ability to learn than any drug. People are so afraid to ask questions.