I could not feel so far that it gets noticeably slower on my galaxy nexus. Also, as soon as #1072 gets in, I would adapt this here to use that cache, obviously in a way that the generated avatar is used only in group threads. Then only the comparison remains, and we could (and should) probably also cache the question whether a recipient has the default avatar or not.