Small refactorings, tiny performance improvement when completing with many results.