⬆️ rowan

This pulls in https://github.com/rust-analyzer/rowan/pull/111, which
fixes a bug in green node hash, making it more efficient.

On analysis stats, total memory goes from 1271mb to 1244mb, instructions
from 358ginstr to 353ginstr (not 100% clear on this one -- for some
reasons instruction counts are not stable for me anymore).

The counts are (before, than after):

rowan::green::node::GreenNode       11_490_596    2_357_063    2_233_347
rowan::green::token::GreenToken      5_010_401      994_281      991_920

rowan::green::node::GreenNode        9_738_085    1_988_164    1_890_549
rowan::green::token::GreenToken      3_353_409      687_333      685_831
                                         total     max_live         live
This commit is contained in:
Aleksey Kladov 2021-08-23 21:07:23 +03:00
parent dab6e9ff5b
commit 3f2add81fc

4
Cargo.lock generated
View File

@ -1289,9 +1289,9 @@ checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
[[package]]
name = "rowan"
version = "0.13.0"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e351ff8d3e7c5ed22deb086169d6853ce500502e201384d9949b7733bedebe6"
checksum = "79066c879e4fd5cbbc0d1b6464cef50f8493126d465083e22b5f9c7766fda747"
dependencies = [
"countme",
"hashbrown",