GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Clean up FAR aggregation by amcasey · Pull Request #48619 · microsoft/TypeScript Conversation
Member
We have library functions for searching within a project for symbols, references, rename locations, etc. All of that code is exactly as before - this change is about the layer that sits on top of that and aggregates the results across multiple projects. In the course of some performance investigations, I discovered that user-FAR was invoking per-project-FAR more times than I expected and that the code wasn't readable enough for me to confidently determine why or how to prevent it. This change attempts to address both issues.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Andrew Casey (amcasey)
added a commit
to amcasey/TypeScript
that referenced
this pull request
Getting an empty result doesn't seem expected, but a deeper fix doesn't make sense until microsoft#48619 is merged. Fixes microsoft#48963
Andrew Casey (amcasey)
added a commit
to amcasey/TypeScript
that referenced
this pull request
Getting an empty result doesn't seem expected, but a deeper fix doesn't make sense until microsoft#48619 is merged. Fixes microsoft#48963
Daniel Rosenwasser (DanielRosenwasser)
pushed a commit
that referenced
this pull request
This change had two goals: 1. Make the code easier to understand, primarily by simplifying the callback structure and minimizing side-effects 2. Improve performance by reducing repeated work, both FAR searches of individual projects and default tsconfig searches This implementation attempts to preserve the merging order found in the original code (someone less relevant in the present state of using syntactic isDefinition). ...in preparation for implementing isDefinition explicitly. Also restore convention of referring to `DocumentPosition`s as "locations". ...to allow use of the checker when computing isDefinition across projects.
Andrew Casey (amcasey)
force-pushed
the
FarCleanupRedux
branch
from
284b0ac to
827f5f3
Compare
|
There was an error while loading. Please reload this page.
|
cc Gabriela Araujo Britto (@gabritto) for the merge of #48758 (the non-trivial parts of which are in d47ae8a). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ping Sheetal Nandi (@sheetalkamat) Andrew Branch (@andrewbranch) now that we're in 4.8, this is ready for review. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.