vector::insert instead of a vector::push_back loop
vector::insert instead of a vector::push_back loop

this reduces reallocations a bit and looks cleaner too

tvmaly/autocomplete,vivekn/autocomplete,vivekn/autocomplete,tvmaly/autocomplete,colindean/autocomplete,colindean/autocomplete,vivekn/autocomplete,colindean/autocomplete,colindean/autocomplete,vivekn/autocomplete,tvmaly/autocomplete,tvmaly/autocomplete,tvmaly/autocomplete,vivekn/autocomplete,colindean/autocomplete