Improve performance of processing code completions