You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to auto-complete in this line, I get a really slow auto complete in the first run (17s) but it looks like the it's also not being cached because following completions are still slow.
The problem seems to be mostly related to Trait solver chalk since the project heavily uses ArkWorks and it's types are all defined around traits. I know there are plans to replace Chalk but in the meantime is there any suggestion on how to speed up completion in the project?
Autocompletions are generally slow because they iterate and check through the trait items for completion candidates. But I think that we could/should improve the performance
rust-analyzer version: 2025-02-10
rustc version: nightly-2024-09-30 (1.83 nightly)
editor or extension: Neovim
repository link (if public, optional): https://github.com/a16z/jolt
While trying to auto-complete in this line, I get a really slow auto complete in the first run (17s) but it looks like the it's also not being cached because following completions are still slow.
The problem seems to be mostly related to Trait solver chalk since the project heavily uses ArkWorks and it's types are all defined around traits. I know there are plans to replace Chalk but in the meantime is there any suggestion on how to speed up completion in the project?
The text was updated successfully, but these errors were encountered: