Download Source Insight 3.1 User Manual
Transcript
Performance Tuning Lookup References is the fastest type of searching. The fastest type of search in Source Insight is the Lookup References search. When you search this way, Source Insight looks for references to a single whole-word item. When you search for a single whole-word, Source Insight uses a special index file to make the search fast. It’s a good idea to get into the habit of using Lookup References, instead of Search Files, when you can. Speeding Up Lookup References The Lookup References command has a few new options that affect its speed. Context-sensitive options can slow down Lookup References. The Smart Reference Matching option means that the search is context-sensitive; the search results will only contain matches for references to the exact symbol you specify, using the surrounding context. This option slows the process down because each samestring occurrence has to be qualified with a symbol lookup, which requires some parsing on the fly. If you turn this off, it will work like version 2.x of Source Insight. The Skip Comments and Search Only Comments options also slow the search down a little, but not as much as the smart reference matching option. The Smart Rename command also uses these same mechanisms. 166 • Source Insight Concepts Source Insight 3.1 User Manual