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
Don't merge trait_impls_in_deps results
Closesrust-lang/rust-analyzer#9167
We effectively keep a lot of copies of `TraitImpl` results in memory by merging them into the result of this query. This wastes a lot of memory unnecessarily. The change here brings memory usage of self down by 50mb (at a slight cost of trait solving unfortunately, though I'm hopeful it was just noice)
I thought there was a bug for this, but I couldn't seem to find it.
e.g. http://doc.rust-lang.org/collections/bitv/struct.Bitv.html#tymethod.clone_from
The text was updated successfully, but these errors were encountered: