diff options
| author | bors <bors@rust-lang.org> | 2024-09-25 17:14:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-25 17:14:39 +0000 |
| commit | 14a14b59b75fb5ffa9d98c9aa864bb91301cffda (patch) | |
| tree | d406c4f57855b5b0a7b9c0b2b363879eb49d6f3a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 1de266fa01eabbd9b92a81c866b875c09de6158b (diff) | |
| parent | 83a371a8f7602c9ce48846758af9439ace1ac6d9 (diff) | |
| download | rust-14a14b59b75fb5ffa9d98c9aa864bb91301cffda.tar.gz rust-14a14b59b75fb5ffa9d98c9aa864bb91301cffda.zip | |
Auto merge of #18180 - kpreid:search, r=davidbarsky
feat: Index workspace symbols at startup rather than on the first symbol search. This will eliminate potential many-second delays when performing the first search, at the price of making cache priming (“Indexing N/M” in the VS Code status bar) take a little longer in total. Hopefully this additional time is insignificant because a typical session will involve at least one symbol search. Further improvement would be to do this as a separate parallel task (which will be beneficial if the workspace contains a small number of large crates), but that would require significant additional refactoring of the progress-reporting mechanism to understand multiple tasks per crate. Happy to tackle that in this PR if desired, but I thought I'd propose the minimal change first.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
