Hermione is autistic and actually struggled a lot in muggle schools because of bullying and just not doing well in that setting, which is why she has such rigorous studying habits and schedules and obsesses over grades.

Her special interest has always magic, which is why she loves it so much and succeeds so well at Hogwarts and learns best by reading and soaking up the information and studying the theory because she just can’t get enough of the information. And why she read all of her school books before she even got to Hogwarts, because she’s always loved magic and now she has actual, real facts that she can study and info dump with!

It’s also why she is so upset over not doing well in divination, because she feels like she did back in muggle school where she didn’t fit well and couldn’t learn well with the subject matter and hates being seen as ‘stupid’ like she was back when she was younger. She doesn’t do well with the things that she can’t study and mentally focus on like divination studies, and because of her sensory processing disorder, she’s hyposensitive to the magical auras that make divination possible making that even worse.

She info dumps all the time about magical studying and reading, and doesn’t realize it’s not interesting to others or 'rude’ She’s probably gotten a few letters from the ministry when she accidentally info dumps magical secrets to muggles.

She tries to help Ron and Harry by giving them schedules because it helped her back in muggle school when she was struggling, and knows that sometimes you need structure without even realizing it.

She used the time turner back in her third year to give her lots of extra time to decompress and stim and relax so she wouldn’t burn out by over work.

She can’t focus in the common room with all the loud noises and talking, which is why she goes to the library, and why she’s irritated by noisy people in the library like the girls in her fourth year.

Hermione is canonically autistic and no one can tell me otherwise.