Added optional feature to enable inline in `hashbrown` crate. (#249)

This commit is contained in:
George 2023-01-20 09:02:09 +02:00 committed by GitHub
parent 0b2a2269b2
commit 83a2cf46e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ categories = ["concurrency", "algorithms", "data-structures"]
[features]
raw-api = []
inline = ["hashbrown/inline-more"]
[dependencies]
lock_api = "0.4.8"

View File

@ -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!