Skip to content

Commit

Permalink
Auto merge of #107 - Amanieu:misc, r=Amanieu
Browse files Browse the repository at this point in the history
Minor doc & CI fixes
  • Loading branch information
bors committed Jul 29, 2019
2 parents 9c5d534 + fb01fc6 commit ed0b240
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ed0b240

Please sign in to comment.