We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327da1f commit 1681bf3Copy full SHA for 1681bf3
README.md
@@ -19,6 +19,8 @@ Compact, clone-on-write string.
19
- When a `LeanString` is cloned, the heap buffer is shared.
20
- When a `LeanString` is mutated, the heap buffer is copied if it is shared.
21
- `O(1)`, zero allocation construction from `&'static str`.
22
+- Heap based string grows at a rate of 1.5x
23
+ - The std library String grows at a rate of 2x
24
- Nich optimized for `Option<LeanString>`.
25
- `size_of::<Option<LeanString>>() == size_of::<LeanString>()`
26
- High API compatibility for `String`.
0 commit comments