`5u32.to_string().byte_capacity()` -> `128` `"foo".to_string().byte_capacity()` -> `128` I think the right solution to this is adding size hints to the underlying formatting system.