My experience is rather:
Smart people typically turn out to be disrespectful towards stupid people if in their life such stupid people made their life more difficult. And smart people often have a good memory.
If they never had any problems with stupid people in life, smart people are in most cases much more respecting.