-
**rust-analyzer version**: rust-analyzer version: 0.4.2156-standalone [/home/mgx/.vscode-server/extensions/rust-lang.rust-analyzer-0.4.2156-linux-x64/server/rust-analyzer]
**rustc version**: bootstra…
-
https://colobu.com/2019/09/06/rust-lib-per-week-lru-rs/
-
All Salsa queries, used in `AnalysisDatabase` must have a set sensible LRU policy to keep memory usage limited. Check out how this is done in Rust Analyzer for reference.
https://github.com/salsa-rs/…
-
Some background context:
- For a while, I've been looking at and investigating rust-analyzer performance issues.
- @Wilfred, @darichey, and I all work together, and our employer is paying us to imp…
-
Currently used LRU is probably not the best choice.
For a blockchain, a [LFU](https://en.wikipedia.org/wiki/Least_frequently_used) or some time-aware variant like [LRFU](https://en.wikipedia.org/wiki…
-
`hir::Semantics` is a general cache used to be able to resolve any syntax node to its semantic definition. This is generally slow given the kind of work it does, but quite often we do a lot more work …
-
See https://github.com/facebook/rocksdb/issues/12364 & https://github.com/zaidoon1/rust-rocksdb/pull/23
-
I'm using a shared LRU cache in my crate, and I ran into this weird issue. I'm not sure if I'm stupid, Rust is stupid, or there is some error with the crate.
I would expect this code to either erro…
-
We don't keep `VMFuncRef` pointers inside the GC heap, as the GC heap is untrusted, and instead have a side table, and store table IDs in GC objects. We currently use libcalls to do id-to-funcref conv…
-
In https://github.com/brave/brave-browser/issues/22339 was found that rust Regex objects in rust-adblock consumes a lot of memory. In addition they never are deleted even the corresponding rule wasn't…