diff --git a/Cargo.toml b/Cargo.toml index 32ba15d..3519d4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ categories = ["concurrency", "algorithms", "data-structures"] [features] raw-api = [] +inline = ["hashbrown/inline-more"] [dependencies] lock_api = "0.4.8" diff --git a/README.md b/README.md index 580480f..c06a5c0 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ If you have any suggestions or tips do not hesitate to open an issue or a PR. - `rayon` - Enables rayon support. +- `inline` - Enables `inline-more` feature from the `hashbrown` crate. Can lead to better performance, but with the cost of longer compile-time. + ## Contributing DashMap gladly accepts contributions!