Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
What is string interning and how is it commonly done in Rust?
A
Compressing strings
B
Storing each distinct string once and referring to it by a small ID or shared pointer (e.g. HashMap<Arc<str>, u32> or a crate like lasso)
C
Encrypting strings
D
Converting strings to uppercase