Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
Why prefer Arc<str> over Arc<String> for shared immutable strings?
A
Arc<str> is mutable
B
Arc<String> isn't Send
C
Arc<str> stores the bytes in the Arc allocation itself: one allocation and one less pointer hop
D
Arc<String> can't be cloned