You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[optimization] avoid running symbol indexing and cache write for empty affected files array #1124
When a file is changed, the symbol indexer updates the symbols, and index, diagnostics for this changed file. It also takes care of re-running the indexing on affected files (files that might be affected by a change in the file that we got the change notification from). This happens, for example, if a symbol of source file A.java contains information from B.java. When B.java changes, the symbol indexing etc. needs to re-run on A.java as well, even though the file A.java itself didn't change.
Unfortunately, even if there is no affected file around (which will be the case in the majority of cases), the machinery around this runs and the (unchanged) cache is being written to disc again. We should avoid that.
changed the title [-]avoid running symbol indexing and cache write for empty affected files array[/-][+][optimization] avoid running symbol indexing and cache write for empty affected files array[/+]on Oct 20, 2023
Activity
GH-1124: do not run indexing and cache write for empty list of affect…
martinlippert commentedon Oct 15, 2023
Fixed with 99032f1
[-]avoid running symbol indexing and cache write for empty affected files array[/-][+][optimization] avoid running symbol indexing and cache write for empty affected files array[/+]