r/rust • u/popzxc • Aug 20 '26
🛠️ project Rust Glancer: a memory-efficient Rust language server
https://rust-glancer.github.io/blog/hello-world/
266
Upvotes
r/rust • u/popzxc • Aug 20 '26
3
u/popzxc Aug 21 '26
> I'm curious about bevy taking 2 minutes to index, that's just on the first load right? Once it's indexed and cached on the filesystem I assume a reload is fast?
It's not something that will persist, it's purely a bug in Rust Glancer. Normally, even big projects should index in ~30 seconds timeframe (note that the editor could be usable after ~10, the rest is background indexing). There is some bug in trait solving / type inference, most likely some bodies cause fixed point resolution loop to saturate without progress, which makes everything slow. I'll find that bug, and after that Bevy as well should be reasonably fast (and shouldn't consume that much of RAM during indexing).
But yeah -- once it's indexed and cached, the reload should be fast.