From 83a2cf46e018119b213352556006067238fd7833 Mon Sep 17 00:00:00 2001 From: George Date: Fri, 20 Jan 2023 09:02:09 +0200 Subject: [PATCH] Added optional feature to enable inline in `hashbrown` crate. (#249) --- Cargo.toml | 1 + README.md | 2 ++ 2 files changed, 3 insertions(+) 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!