Stream: t-compiler/wg-rls-2.0

Topic: save-analysis based precise analysis


matklad (Nov 19 2019 at 15:39, on Zulip):

cc @Igor Matuszewski, this is the thread to discuss how we add save-analysis to rust-analyzer.I think a reasonable first step is to review analysis-related crates, fix any API issues and publish them to crates.io.

Specifically, I think there might be two things to fix:

Igor Matuszewski (Nov 19 2019 at 16:07, on Zulip):

@matklad thanks for starting a topic! I was just thinking about it when you posted :big_smile:

Igor Matuszewski (Nov 19 2019 at 16:08, on Zulip):

Re errors, we definitely should either expand the definition and catch more errors or use the dynamic one, I’m good with either

Igor Matuszewski (Nov 19 2019 at 16:09, on Zulip):

Re mutex, I’d say we should just move it out. It also messes with recursive processing of the data as well

Igor Matuszewski (Nov 19 2019 at 16:10, on Zulip):

I had a patch somewhere but didn’t go further with that, will need to bring it back

Igor Matuszewski (Nov 19 2019 at 16:12, on Zulip):

Exploring the stateless approach is a good idea, as it strikes a balance between optimizing for subsequent queries and latency stemming from preprocessing the data

Igor Matuszewski (Nov 19 2019 at 20:16, on Zulip):

Exploring the stateless approach is a good idea, as it strikes a balance between optimizing for subsequent queries and latency stemming from preprocessing the data

Last update: Dec 12 2019 at 01:20UTC