some perf. fix for code completion. Ongoing parameter completion work.

(not sure what it'd be like though...)