diff --git a/README.md b/README.md index 59801cdc59..d9feebfb2e 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ and `HashSet` types. The original C++ version of SwissTable can be found [here], and this [CppCon talk] gives an overview of how the algorithm works. +Since Rust 1.36, this is now the `HashMap` implementation for the Rust standard +library. All benchmarks and features below are compared to the previous hash +table implementation in the Rust standard library. + [SwissTable]: https://abseil.io/blog/20180927-swisstables [here]: https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h [CppCon talk]: https://www.youtube.com/watch?v=ncHmEUmJZf4 @@ -30,7 +34,7 @@ The original C++ version of SwissTable can be found [here], and this ## Performance -Compared to `std::collections::HashMap`: +Compared to the previous implementation of `std::collections::HashMap`: ```text name stdhash ns/iter hashbrown ns/iter diff ns/iter diff % speedup diff --git a/ci/run.sh b/ci/run.sh index 99ed4276d6..2b9f9c7c55 100644 --- a/ci/run.sh +++ b/ci/run.sh @@ -4,7 +4,7 @@ set -ex : "${TARGET?The TARGET environment variable must be set.}" -FEATURES="rayon,serde" +FEATURES="rayon,serde,rustc-internal-api" if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then FEATURES="${FEATURES},nightly" export RUSTFLAGS="$RUSTFLAGS -D warnings"