Skip to main content

estimate_string_memory

Function estimate_string_memory 

Source
pub fn estimate_string_memory(s: &str) -> usize
Expand description

Estimate memory usage of a cached string in bytes.