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