Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d3ed2e8

Browse files
committed
Auto merge of rust-lang#129965 - cuviper:raw-indexmap, r=<try>
[DO NOT MERGE] Try `indexmap` with its own `RawTable` I want to see whether there's any noticeable performance difference in `rustc` if `indexmap` embeds its own copy of `hashbrown::raw::RawTable<usize>`, specialized for its own use. The generic parameters are removed, as well as a lot of unused code, and some of the raw API is further tweaked for dealing with always-copyable `usize` data. * Full `indexmap` comparison: indexmap-rs/indexmap@master...cuviper:raw * Changes after the initial import: indexmap-rs/indexmap@cfb8d04...cuviper:raw r? ghost
2 parents 842d6fc + adce254 commit d3ed2e8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,12 +1764,10 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
17641764

17651765
[[package]]
17661766
name = "indexmap"
1767-
version = "2.4.0"
1768-
source = "registry+https://github.com/rust-lang/crates.io-index"
1769-
checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
1767+
version = "2.5.0"
1768+
source = "git+https://github.com/cuviper/indexmap?branch=raw#4db206673c970d65e35cecebf9d26acd85b15a30"
17701769
dependencies = [
17711770
"equivalent",
1772-
"hashbrown",
17731771
"rustc-rayon",
17741772
"serde",
17751773
]

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,7 @@ codegen-units = 1
9090
# FIXME: LTO cannot be enabled for binaries in a workspace
9191
# <https://github.com/rust-lang/cargo/issues/9330>
9292
# lto = true
93+
94+
[patch.crates-io.indexmap]
95+
git = "https://github.com/cuviper/indexmap"
96+
branch = "raw"

0 commit comments

Comments
 (0)