Skip to content

Cache Workspace Data #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
daplf opened this issue Feb 9, 2022 · 2 comments
Open

Cache Workspace Data #328

daplf opened this issue Feb 9, 2022 · 2 comments
Labels
dependency resolution Related to the project dependency/standard library resolver index Related to the symbol indexer

Comments

@daplf
Copy link
Contributor

daplf commented Feb 9, 2022

At the moment, when the language server starts, we setup the project as if it was never opened before. This means we have to resolve all the dependencies, compile all the files and index all the symbols. We could cache some (or all) of these things for each project. This would lead to faster startup times for projects that were opened before. We would obviously need to make sure the project didn't change since it was last opened.

This could help to address #160 and #327

@fwcd fwcd added dependency resolution Related to the project dependency/standard library resolver index Related to the symbol indexer labels Feb 27, 2022
@Glyphack
Copy link

I think this one can be closed right? I was searching around issues and saw the PR is already merged for this. Thanks by the way!

@daplf
Copy link
Contributor Author

daplf commented Dec 17, 2023

I think this one can be closed right? I was searching around issues and saw the PR is already merged for this. Thanks by the way!

My intent with this issue was caching multiple things (dependencies, symbol index, etc). We have a merged PR for caching dependencies, but there are still things we want to cache. I suppose we could create separate issues for them, if you prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency resolution Related to the project dependency/standard library resolver index Related to the symbol indexer
Projects
None yet
Development

No branches or pull requests

3 participants