weixin_39732640 2020-11-22 00:35
浏览 0

Add LRU to derived storage

LRU allows to bound the maximum number of values that are present in the table.

该提问来源于开源项目:salsa-rs/salsa

  • 写回答

6条回答 默认 最新

  • weixin_39732640 2020-11-22 00:35
    关注

    I've tried rust-analyzer with bound of 128 syntax trees. The results for from scratch analysis are as follows:

    
    Summary
      './target/ra_cli-old analysis-stats ../chalk' ran
        1.44 ± 0.04 times faster than './target/ra_cli-new analysis-stats ../chalk'
    

    old is without lru, new is with lru

    RSS for old is 2_883_824k RSS for new is 1_232_324k

    评论

报告相同问题?