Faster leaf node search CR-IU-897 - minor improvements
(cherry picked from commit 03ff93d)
CR-IU-898 Significant performance improvement for processing word at caret (i.e. var highlights) for worst cases
(cherry picked from commit b229226)