Caching of compilation of crates between different calls to load_workspace_at()
#21682
-
|
Hi all, as you know I'm using RA to analyze Rust crates and their dependencies, so I'm going all through So I was wondering if there is any way to cache the work that RA is doing when parsing those dependencies. From what I see, the Salsa database is not meant to be serializable, but maybe there's something I can do at a higher level? I may also cache things on my side, i.e. cache the result of my extraction instead of caching RA's compilation, but before I'd like to know if there's anything simpler I can do from RA side. Any hint? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Serialization for faster startup is planned but not done yet. You can have your own cache, as you said. |
Beta Was this translation helpful? Give feedback.
Serialization for faster startup is planned but not done yet.
You can have your own cache, as you said.