Had he not just thought himself her equal in ability and brain power. Had he not spent his whole schooling career comparing himself to her, being in awe of her talent and genuinely impressed by the fact that a muggleborn was destroying all the pureblood's in every test. Although since coming to Hogwarts he had never really bought into all the purist bullshit his dad preached on about, he didn't openly disagree with it either to allow assumptions to be made about him.