Skip to content
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

Possibility of on-disk caching #124

Open
rudiejd opened this issue Nov 25, 2023 · 1 comment
Open

Possibility of on-disk caching #124

rudiejd opened this issue Nov 25, 2023 · 1 comment

Comments

@rudiejd
Copy link

rudiejd commented Nov 25, 2023

One issue I've noticed when running csharp-ls, or any other LSP, with a large project is startup time. csharp-ls specifically will redo semantic tokens and analysis regardless of whether files have changed since the last start.

Is there a possibility for this project to support on-disk caching, perhaps at the file or even project level? This is something that clangd does extensively, and it seems to benefit its startup time.

@razzmatazz
Copy link
Owner

razzmatazz commented Nov 25, 2023

I am not so sure about this. csharp-ls is a relatively thin wrapper over ms roslyn libs and I am not aware of api to allow this.

I may be wrong about this though--please correct me if I'm wrong!

Otherwise some kind of speculative caching could be attempted while project is being loaded but I am somewhat doubtful about the results vs effort ratio.

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

No branches or pull requests

2 participants