Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 629
What is string interning and how is it commonly done in Rust?
A
Encrypting strings
B
Compressing strings
C
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)
D
Converting strings to uppercase