In particular, if the user uses to complete a word and the completion is greater than 1 character, _complete_from_full_parse is called, which is pretty slow.
By storing the previous line, we only reparse when the current line does not start with the previous line.
In particular, if the user uses to complete a word and the completion is greater than 1 character,
_complete_from_full_parse
is called, which is pretty slow.By storing the previous line, we only reparse when the current line does not start with the previous line.