Skip to content

Commit

Permalink
Update to latest rustc-hash version
Browse files Browse the repository at this point in the history
This is a very minor performance win, a few percent in my
benchmarking.

typing_1.ml went from 3.013M to 2.996M instructions (0.6% reduction).
slow_1.rs went from 2.153M to 2.046M instructions (5% reduction).

Fixes Wilfred#728
  • Loading branch information
Wilfred committed Jul 9, 2024
1 parent f1bd870 commit 7248e33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ regex = "1.10.4"
clap = { version = "3.2.25", features = ["cargo", "env", "wrap_help"] }
itertools = "0.11.0"
typed-arena = "2.0.2"
rustc-hash = "1.1.0"
rustc-hash = "2.0.0"
strsim = "0.10.0"
lazy_static = "1.4.0"
# tree-sitter 0.22.5 uses std::os::fd::AsRawFd, which was added in Rust 1.66.
Expand Down

0 comments on commit 7248e33

Please sign in to comment.