Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jdneo
Copy link
Member

@jdneo jdneo commented Jul 10, 2019

Assumption:

Symbols which have the same definition should have the same results for: type definition, implementation, references and hover information.

What the PR does

when it comes to a new symbol, we first resolve the definition of it, and calculate a hash-id for the definition. Each hash-id will point to a SymbolData which contains the results for type definition, implementation, references and hover information.

If any field is null, then we resolve it. Otherwise, we just skip it.

Resolving the References

Resolving the references is different. Instead of we real resolving it, we accumulate to the ReferenceResult(which is a field of the SymbolData) when we meet a new symbol with the same definition hash-id.

@jdneo jdneo added this to the 0.1.7 milestone Jul 10, 2019
@jdneo jdneo requested a review from yaohaizh July 11, 2019 09:01
@jdneo jdneo merged commit 226025e into master Jul 15, 2019
@jdneo jdneo deleted the cs/perf branch July 15, 2019 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants