Skip to content

Commit 8b417e7

Browse files
committed
Enable inline-more by default and document it
1 parent b8c34c9 commit 8b417e7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ serde_test = "1.0"
3737
doc-comment = "0.3.1"
3838

3939
[features]
40-
default = ["ahash"]
40+
default = ["ahash", "inline-more"]
4141
nightly = []
4242
rustc-internal-api = []
4343
rustc-dep-of-std = ["nightly", "core", "compiler_builtins", "alloc", "rustc-internal-api"]

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ This crate has the following Cargo features:
102102
- `serde`: Enables serde serialization support.
103103
- `rayon`: Enables rayon parallel iterator support.
104104
- `raw`: Enables access to the experimental and unsafe `RawTable` API.
105+
- `inline-more`: Adds inline hints to most functions, improving run-time performance at the cost
106+
of compilation time. (enabled by default)
105107

106108
## License
107109

0 commit comments

Comments
 (0)