File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ and `HashSet` types.
12
12
The original C++ version of SwissTable can be found [ here] , and this
13
13
[ CppCon talk] gives an overview of how the algorithm works.
14
14
15
+ Since Rust 1.36, this is now the ` HashMap ` implementation for the Rust standard
16
+ library. All benchmarks and features below are compared to the previous hash
17
+ table implementation in the Rust standard library.
18
+
15
19
[ SwissTable ] : https://abseil.io/blog/20180927-swisstables
16
20
[ here ] : https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h
17
21
[ 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
30
34
31
35
## Performance
32
36
33
- Compared to ` std::collections::HashMap ` :
37
+ Compared to the previous implementation of ` std::collections::HashMap ` :
34
38
35
39
``` text
36
40
name stdhash ns/iter hashbrown ns/iter diff ns/iter diff % speedup
Original file line number Diff line number Diff line change 4
4
5
5
: " ${TARGET?The TARGET environment variable must be set.} "
6
6
7
- FEATURES=" rayon,serde"
7
+ FEATURES=" rayon,serde,rustc-internal-api "
8
8
if [ " ${TRAVIS_RUST_VERSION} " = " nightly" ]; then
9
9
FEATURES=" ${FEATURES} ,nightly"
10
10
export RUSTFLAGS=" $RUSTFLAGS -D warnings"
You can’t perform that action at this time.
0 commit comments