Skip to content

Commit f6ac10f

Browse files
authored
Add notice that the functions have been removed from hasbrown
The reasoning seems to be that they do not help LLVM consistently: rust-lang/hashbrown#482
1 parent 4e0aba3 commit f6ac10f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ if likely(condition) {
1717
and they should be optimized away by the compiler.
1818

1919
## Credit
20-
The functions are taken directly from the [hashbrown](https://crates.io/crates/hashbrown) crate and this crate simply exposes them, all credit belongs to the hashbrown authors.
20+
The functions are taken directly from the [`hashbrown`](https://crates.io/crates/hashbrown) crate and this crate simply exposes them, all credit belongs to the hashbrown authors.
2121

2222
## Note
2323
This is a very minimal crate. If you want more comprehensive functionality, take a look at the [likely_stable](https://crates.io/crates/likely_stable) crate.
2424

25+
`hashbrown`'s implementation of these functions [has been removed](https://github.com/rust-lang/hashbrown/commit/d677fd42df6978522045a9561242588ef970ed0c) with the motivation that they do not help LLVM consistently.
26+
Verify for yourself with benchmarks if these functions do anything for you.
27+
2528
<br>
2629

2730
### License

0 commit comments

Comments
 (0)