Improve performance when showing many hints.